|
|
вернуться в форумОбщий форумFor all with 1022 wrong answer 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 oh,my god,why they didnt produce a "presentation error" instead of the "Wrong answer".... Re: For all with 1022 wrong answer matter is the '\n' my solution get wrong answer with a '\n' and get accept without it Got it! Thank you 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, |
|
|