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

Alexander Mangilyov (TNU) weak tests [2] // Problem 1266. Kirchhoff's Law 13 Aug 2009 20:26
Please add this test
4 3
1 3 1
3 2 1
2 4 1
Al.Cash Re: weak tests [1] // Problem 1266. Kirchhoff's Law 13 Aug 2009 21:16
Your test is incorrect! It's said that 1 ≤ Ai < Bi ≤ N in statement.
Alexander Mangilyov (TNU) Re: weak tests // Problem 1266. Kirchhoff's Law 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 :)