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

Обсуждение задачи 1004. Экскурсия

to admin: the description of this problem is wrong!
Послано StarForever 5 янв 2007 13:36
Each sightseeing route is a sequence of road numbers y1, …, yk, k ≥ 2

in fact k>2 && k!=2

first I have to deal with the case when k=2, but I got WA.
then I ignore this case, and got AC.

maybe it's not important to somebodyt.
but still it's a little error.
Re: to admin: the description of this problem is wrong!
Послано Torax [Lviv NU] 1 фев 2007 20:30
It's very important detail and it's not a LITTLE error!!!
I wonder why such an important detail wasn't corrected so long. That "detail" costed me 5 submissions with WA#1 :((
Damn it! :-E
Re: to admin: the description of this problem is wrong!
Послано .Net, Java - any pcode sucks 21 апр 2007 02:44
it seems to me, thats your error, not the incorrect problem.

if case k==2 is impossible, does not matter, deal you with it or not.
Re: to admin: the description of this problem is wrong!
Послано HASK.L. 25 апр 2007 20:52
yes, if input is
2 2
1 2 1
2 1 1
-1

then output should be

No solution.
Re: to admin: the description of this problem is wrong!
Послано Rachel 19 июн 2008 13:32
TRUE!
I was also misled by the description, but now I get AC ignoring cases where k=2.