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

Обсуждение задачи 1567. SMS-спам

the example result is wrong ! wrong = 114, right = 113
I calculate the example and there is only 113, i add 1 to the result and get WA hundreds of times.
I no longer add 1 to the result and get AC !
Therefore, my AC program give the result of 133 instead of 114 in the example.

It's very very very simple !
there is only one line, no number, no strange letter !

Edited by author 11.03.2009 13:11
Re: the example result is wrong ! wrong = 114, right = 113
Послано yaho0o0 16 апр 2009 00:57
you are not write my AC program cout 114
The example is wrong!
Послано Spatarel Dan Constantin 10 сен 2011 02:42
I confirm that the example is wrong. My AC source returns 113.

I had some trouble getting AC with the '\n' character. The problem statement says that you may find such characters in the input but nothing about their price. I valued them at 0 and got AC.
Re: The example is wrong!
Послано Sandro (USU) 10 сен 2011 12:39
to Spatarel Dan Constantin: You are wrong, your AC solution returns 114. :)
The example is finished with an end of line.