vacuous's blog

By vacuous, 10 years ago, In English

Following is my code from Codeforces Round #275 for the Question Interesting Arrays(http://mirror.codeforces.com/contest/482/problem/B)

It passed all pretest but during system testing, it gave a runtime error on pretest 28. The input was big and so it is not completely visible in the checker log. I tried to debug and tried many random testcases but I am unable to figure out the cause of runtime error.

If anyone is able to figure out the reason please tell me. Or even a testcase on which runtime error is given would do much help. Thanks.

http://mirror.codeforces.com/contest/482/submission/8392887

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

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Link to your accepted solution -> 8428987