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

Обсуждение задачи 1314. Погоня в метро

Показать все сообщения Спрятать все сообщения

If someone wants to try to debug my code or give me a hint or help me some other way, send me a mail on dporobic@eunet.yu
Hint (+) Danica Porobic 5 сен 2004 15:44
Detail that made my WA #3 to AC : If the line is defined as follows: 3 1 2 3 then spans are 1-2 and 2-3, and not 1-3!!! Line aren't cycles....
Re: Hint (+) AlexF 4 сен 2006 11:40
When I had WA#3, this test helped:
1
1 1
1 1
The right answer is 1
Re: Hint (+) Srihari Seshadri 5 апр 2011 00:55
That isn't a valid test case, though, because the K >= 2. You cannot have a line with only one station.