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

Обсуждение задачи 1137. Автобусные маршруты

Failed Peter Is it possible to output 0? [5] // Задача 1137. Автобусные маршруты 3 апр 2004 19:05
Vlad Veselov I think no. // Задача 1137. Автобусные маршруты 5 апр 2004 21:46
It is possible to move from any stop to any other stop. On every step you can find number of stop, that is in our new rote now, and that in one of other rotes, and add this rote. May I mistaken?
can the graph disconnect?
No it is not. Or al leat my program never did and I got AC :)))
Is it?

2
2 1 2 1
2 3 4 3
Look at the statement. "..Fishburg old residents stated that it was possible to move from any stop to any other stop.."