ENG
RUS
Timus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум
Обсуждение задачи
1242
. Оборотень
Sample input
Послано
devilkind
10 июн 2007 15:51
From the input description I understood that the first number is the child and the second number is the father, but in the first sample child number 4 has 2 parents, 5 and 6.
Re: Sample input
Послано
Alias (Alexander Prudaev)
10 июн 2007 21:09
"The data is correct - for each of the residents there are no more than two parents, and there are no cycles."
father and mother
© 2000–2025
Timus Online Judge Team
. Все права защищены.