|
|
back to boardChanges in problem 1069 (+) 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. What about C/C++ (+) I implemented as below: while(!feof(stdin)) { ... } How could I change my program? Re: What about C/C++ (+) For example: while (scanf("%d",&next)==1) { ... } Read faq about reading till the end of file (-) |
|
|