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

Общий форум

problem 1642
Послано Hid@yet_qafqaz 5 май 2010 01:50
what if in one way we can reach , but on opposite way we can't?
for example,what is output for this test?
input:
0 3
Re: problem 1642
Послано Sergey Lazarev (MSU Tashkent) 5 май 2010 10:30
Your test is incorrect, such case is impossible.
It is guaranteed that 1D person will encounter either obstacle or exit point sooner or later regardless of the initial direction.
Re: problem 1642
Послано Hid@yet_qafqaz 5 май 2010 22:12
you mean...such test is not exceed?...or i must output "impossible" when n is equal to
Re: problem 1642
Послано Hid@yet_qafqaz 5 май 2010 22:12
you mean...such test is not exceed?...or i must output "impossible" when n is equal to zero
Re: problem 1642
Послано Sergey Lazarev (MSU Tashkent) 5 май 2010 22:52
There are no such tests.
Re: problem 1642
Послано Hid@yet_qafqaz 5 май 2010 23:45
but what is test 13?i got wrong answer in test 13...