namanbansal013's blog

By namanbansal013, history, 7 weeks ago, In English

In Problem D of yesterday's contest, I'm getting WA on test case 3. The checker log says "wrong output format Unexpected end of file — int32 expected", This is an interactive problem and I'm not really able to understand the meaning of the verdict. My logic is correct but if someone wants to have a look at the code here is the submission link: 119374235 .

 
 
 
 
  • Vote: I like it
  • -10
  • Vote: I do not like it

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

It means your code does not output anything for that testcase.

»
7 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

This was happening to me as well. Your code is most probably not printing n-1 pairs as it should. It must be printing less than that.