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

Обсуждение задачи 1005. Куча камней

TEST Case #2 is wrong
Послано Prasanna Kantal 21 сен 2012 20:54
I have made two solutions.. 1st one was failing at test case#5 and second one was failing @test case#2.
Then I combined both and took the minimum out of both and in this case its again failing @test case#2.

If you analyse, 1st one was failing@ Test Case#5 so its answer was proper for Test case#2.
Now I took the minimum of 1st and 2nd solution and its again failing @Test case#2. That means my 2nd solution is giving minimal output than 1st one.

So I can say that the Test case#2 is wrong.
Re: TEST Case #2 is wrong
Послано sysu2012zzp 12 ноя 2012 13:55
may be your 2nd solution is wrong although it luckily passes test1?
Re: TEST Case #2 is wrong
Послано Bogatyr 12 ноя 2012 15:38
>  So I can say that the Test case#2 is wrong.

99.99% of all posts saying "test X is wrong" are wrong :).

Of course, if your WA2 code calculates a smaller value for test #2 than your WA5 code (which gets the correct answer for #2),  then your combination algorithm will yield the wrong result for test #2.