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

WA 1 here are my test cases please help
3
2 3 0
1 0
1 0


ans
1
1


test2

4
2 3 0
1 0
1 4 0
3 0

output
2
1 3


the sample problem given here has given me this output
4
1 4 5 6

is this solution correct please help.

please suggest some test cases.

Edited by author 03.04.2008 13:54