ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

For all with 1022 wrong answer
Posted by Dmitry S. Lyubshin 16 Oct 2000 14:07
Whitespace matters! Their checking programs are strange.
If the answer is "1 2 3",
printf("1 2 3 \n");
is wrong answer, while
printf("1 2 3");
is accepted.
Re: For all with 1022 wrong answer
Posted by longman cheng(@Killer team of ZJU) 16 Oct 2000 16:02
oh,my god,why they didnt produce a "presentation error"
instead of the "Wrong answer"....
Re: For all with 1022 wrong answer
Posted by longman cheng(@Killer team of ZJU) 17 Oct 2000 13:38
matter is the '\n'
my solution get wrong answer with a '\n'
and get accept without it
Got it! Thank you
Posted by tjq(killer of zju) 17 Oct 2000 15:04
matter is endl, but I don't know the program they wrote to
check is so sensitive to these minor details,

From Now on I won't add any extra endl to my output,