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

We have a correct answer.But why WA#12.
Posted by Muhabbat 3 Nov 2009 14:29
Input:
7
2 3 0
3 1 0
1 2 4 5 0
3 0
3 0
7 0
6 0

Output:
4
1 4 5 6
Is it true?
Please Give me some tests.

Edited by author 03.11.2009 15:17

Edited by author 03.11.2009 15:18
Re: We have a correct answer.But why WA#12.
Posted by Friends 6 Nov 2009 14:47
I think your answer is true.
Try it:
In
4
2 0
1 4 0
4 0
2 3 0
Out
2
1 3
or
2 4


Edited by author 06.11.2009 14:49
Re: We have a correct answer.But why WA#12.
Posted by evjava 8 Nov 2009 22:30
I think
1 4
correct too
Re: We have a correct answer.But why WA#12.
Posted by Bekzhan 7 Nov 2012 13:36
and
2
2 3
if correct too)