ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1106. Two Teams

Who can help me about the Sample?
Posted by TLaum 12 Oct 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?
Posted by Adela Neacsu 12 Oct 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?
Posted by TLaum 14 Oct 2011 09:28
thx!
Re: Who can help me about the Sample?
Posted by Giorgi Pataraia [Tbilisi SU] 8 Feb 2012 01:17
Adela Neacsu wrote 12 October 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?
Posted by [TH0212]1112464 13 Oct 2012 12:53
this problem don't only a result!!!