problem C codeforces round 931 (div 2)

Revision ru1, by 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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru1 Russian Kosya 2024-03-01 22:04:21 441 Первая редакция (опубликовано)