627's blog

By 627, history, 9 months ago, In English,

I was participating in the Educational Round the other day. I was trying 915E. I submitted this code but ended up with an RTE on the very first case. Whereas this code doesn't cause any problem on various online IDEs, I am getting RTE on Codeforces. So I debugged a while and ended up with this code. From what I see, its not inputting just after one iteration.

I am all lost here. Anything on this will be so much of help right now! Thanks in advance.

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

9 months ago, # |
  Vote: I like it +7 Vote: I do not like it

Follow these instructions .

Hint 1
Hint 2

Anyone else please don't point out the bug directly, let him learn to debug his code himself.