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 1266. Kirchhoff's Law

weak tests
Posted by Alexander Mangilyov (TNU) 13 Aug 2009 20:26
Please add this test
4 3
1 3 1
3 2 1
2 4 1
Re: weak tests
Posted by Al.Cash 13 Aug 2009 21:16
Your test is incorrect! It's said that 1 ≤ Ai < Bi ≤ N in statement.
Re: weak tests
Posted by Alexander Mangilyov (TNU) 16 Aug 2009 22:33
Oh, exactly.
I waste a lot of time until found a mistake in function which denote a correct order. And this program even not need in it :)