ultimatechodu.v1's blog

By ultimatechodu.v1, history, 4 hours ago, In English

In the solution to this 1557C - Moamen and XOR, this 307571033 gives the wrong answer on the 2nd test case, but this 307571054 works, while the only difference between them being in the direction of the for loop. While both for loop workings are identical since the DP state, I don't know why the first one gives the wrong answer while the second gets accepted. Please give some reason.

  • Vote: I like it
  • 0
  • Vote: I do not like it