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

Common Board

Output of Problem G is wrong !!!
Posted by Tran Nam Trung (trungduck@yahoo.com) 26 May 2001 14:28
I think 1 and 3 can't be in the same team !!!!!
RERERe: Output of Problem G is wrong !!!
Posted by Ivo 26 May 2001 14:53
Why???  and  is 1 and 6 right answer?
Re: Output of Problem G is wrong !!!
Posted by FDO 26 May 2001 14:54
> I think 1 and 3 can't be in the same team !!!!!

You are not right! Look at the problem text...
Hey what about the problem text????
Posted by Ivo 26 May 2001 14:56
I can't get it! What's wrong?
Re: Output of Problem G is wrong !!! --> 1 and 3 are friends, why they can be in the same team ?
Posted by Tran Nam Trung (trungduck@yahoo.com) 26 May 2001 15:34
> > I think 1 and 3 can't be in the same team !!!!!
>
> You are not right! Look at the problem text...
read the problem text carefully, pls (+)
Posted by Dinh Quang Hiep (mg9h@yahoo.com) 26 May 2001 16:19
it says "Every member of each team must have friends in
another team.", it doesn't mean ALL FRIEND of anyone must be
in the other team.
Btw, for the example
#2 and #3 is friends of #1
#3 and #1 is friends of #2
#1, #2, #4, #5 is friends of #3
#3 is friend of #4
#3 is friend of #5
#7 is friend of #6
#6 is friend of #7

Good luck !

QH@