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 1022. Genealogical Tree

test#4
Posted by azadeh 22 Aug 2006 12:01
what is the output of this input?
20
0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
1 4 5 9 2 3 0
10 0
11 0
12 4 5 6 7 8 9 0
13 0
14 0
15 0
16 0
17 0
18 0
2 3 4 5 6 1 7 8 9 10 11 12 13 17 19 0

Re: test#4
Posted by fatemeh 6 Sep 2006 14:20
the output is:
20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
Re: test#4
Posted by MOPDOBOPOT 19 Mar 2009 21:32
why . . .?