YUXIAOKANG's blog

By YUXIAOKANG, history, 7 years ago, In English

Codeforces Round #435 (Div. 2), problem: (C) Mahmoud and Ehab and the xor, Wrong answer on test 27 wrong output format Unexpected end of file — int32 expected What does that mean?? And i couldn't understand why my code gives wrong output . Here is my submission ID 30534385

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

| Write comment?
»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

it's means the judge is expecting an int but your output file have reach the end.

If you try to print your s.size() for the case 100000 1, you would notice that your s.size()=99999, which is not correct.