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 1339. Babies

2rf Just some test [2] // Problem 1339. Babies 24 Jun 2009 11:11
This test helped me get AC (i had access violation at test 12):

3
1 0 2
2 0 3

Good luck.
Anupam Ghosh,Bengal Engg and Sc Uni,MtechIT,2006-09,India Re: Just some test [1] // Problem 1339. Babies 20 Jul 2009 14:29
is the answer 1 3 2
hoan Re: Just some test // Problem 1339. Babies 8 Dec 2010 23:21
YES, your answer is correct also 1 2 3 correct too.
this test help me, i hope it's help you too:

input:
3
0 0 0
0 0 0

output:
1 2 3 or 1 3 2 or 2 1 3 or 2 3 1 or 3 1 2 or 3 2 1

sorry for my poor english.
GOOD LUCK!!!