ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1427. SMS

Case 7 is indeed right. But I think case17+18 must be wrong
Послано Safe Bird 12 фев 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" ..?
Послано Love_** 12 фев 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......
Послано Love_** 12 фев 2006 17:07