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 1112. Cover

Help WA test#13
Posted by xianghang 13 Oct 2008 12:35
Any one who can give some hint? Thanks
Re: Help WA test#13
Posted by Häkkinen 23 Feb 2009 19:20
Try this test
2 1
1 2

Edited by author 24.02.2009 18:43
Re: Help WA test#13
Posted by IgorKoval(from Pskov) 24 Jan 2012 05:48
I think this test must be look like:

1
-999 999

or
2
-999 999
1 4

or
2
0 999
1 4

and other with -999 or/ans 999.

P.S.: my bug:
for( long key = how[1998]; key != -1; key = how[key] )
AC:
for( long key = 1998; key != -1; key = how[key] )