problem C codeforces round 931 (div 2)

Правка ru1, от Kosya, 2024-03-01 22:04:21

can anyone help me? I have two almost identical solutions, but one of them does not work. the algorithm is the same, the only difference is in checking the fourth query (lines 70-76), where I swap x1 and x2, which should not interfere with the algorithm

working code: https://codeforces.net/contest/1934/submission/249190234 not working code: https://codeforces.net/contest/1934/submission/249189751

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
ru1 Русский Kosya 2024-03-01 22:04:21 441 Первая редакция (опубликовано)