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

Обсуждение задачи 1796. Парк аттракционов

Can anybody clarify this to me?
Послано Tural Neymanov 28 апр 2013 04:03
Is such an input possible?

2 0 0 0 1 0
100
this means that teacher gave 1020 but the 20 that were given were unnecessary, and it's said that every note is needed.

Thanks.
Re: Can anybody clarify this to me?
Послано ilalex 28 апр 2013 19:42
No. Btw, my AC solution gives 0 on this test.
Re: Can anybody clarify this to me?
Послано BillSu 28 апр 2014 06:02
That, there not such test case here.
Because your code should be wrong.
The answer for this is : 1 10, which is my AC code give, and should be as we calculate by ourselves.
But according to the question statement, it should not give such test cases. Because the teacher would not give unnecessary money.

Edited by author 28.04.2014 06:04