|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияNow all tests contain EOLN character after the last line of input. Use "seekeof" instead of "eof". Many authors now have WA1, TL1 or Crash1, but some others with such old verdicts got AC. Besides, some new tests were added to the problem. I implemented as below: while(!feof(stdin)) { ... } How could I change my program? For example: while (scanf("%d",&next)==1) { ... } |
|
|