Kosya's blog

By Kosya, history, 9 months ago, In Russian

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

  • Vote: I like it
  • +2
  • Vote: I do not like it