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

Show all messages Hide all messages

Just some test 2rf 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.
Re: Just some test Anupam Ghosh,Bengal Engg and Sc Uni,MtechIT,2006-09,India 20 Jul 2009 14:29
is the answer 1 3 2
Re: Just some test hoan 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!!!