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

Discussion of Problem 1427. SMS

Case 7 is indeed right. But I think case17+18 must be wrong
Posted by Safe Bird 12 Feb 2006 14:57
case 7 is indeed right.
"fscanf("%d %d\n") and fgets" is INCORRECT.
not due to the bug of test case, but due to your wrong algorithm!


but, case 17 and 18 must be wrong.
    for (;;)
    {
        char ch=fgetc(Fin);
        if (ch=='\n') break;
        ...
    }
these codes will TLE on 17. there mustn't be '\n' in case 17.


for case 18, my C++ program is nearlly the same as my teammates' pascal program, but my fails on 18, his one gets AC.
now this problem is "locked" ..?
Posted by Love_** 12 Feb 2006 17:03


Edited by author 12.02.2006 17:05
i found it has rejudged! !!! i hope you will "rejudge" the contest, that will make our team from 3rd place -> 2nd place of coz......
Posted by Love_** 12 Feb 2006 17:07