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 1018. Binary Apple Tree

If you WA#1
Posted by SerailHydra 8 Dec 2007 18:20
If your algo is correct, then maybe the problem is the way you build the tree.

Try this test:

5 2
3 1 1
4 1 10
2 3 20
3 5 20

Hope this test can help you.
Re: If you WA#1
Posted by dejiyu 12 Mar 2008 19:11
Thank You!
Re: If you WA#1
Posted by Kiran Kumar 11 Sep 2015 09:13
Thanks!!
Re: If you WA#1
Posted by zyd 5 Jul 2016 13:09
Thanks a lot!
-
Re: If you WA#1
Posted by zyd 5 Jul 2016 13:09
Thanks a lot!
-