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

Обсуждение задачи 1106. Две команды

Who can help me about the Sample?
Послано TLaum 12 окт 2011 08:08
if input is sample input,can output be :
2
3 6?
And why?thx
Re: Who can help me about the Sample?
Послано Adela Neacsu 12 окт 2011 17:42
Yup, output is correct, because 3 is a friend with 1, 2, 4, 5 and 6 is a friend with 7. So each member of each team has at least one friend in the opposite team
Re: Who can help me about the Sample?
Послано TLaum 14 окт 2011 09:28
thx!
Re: Who can help me about the Sample?
Послано Giorgi Pataraia [Tbilisi SU] 8 фев 2012 01:17
Adela Neacsu писал(a) 12 октября 2011 17:42
Yup, output is correct, because 3 is a friend with 1, 2, 4, 5 and 6 is a friend with 7. So each member of each team has at least one friend in the opposite team
wtf? why 6 and 7 are friends?
Re: Who can help me about the Sample?
Послано [TH0212]1112464 13 окт 2012 12:53
this problem don't only a result!!!