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

Last test is BAD!!!
Posted by Fly 2 Apr 2004 01:54
When I solve the problem I have collided with WA on test 11. I saw this test. In this test Q == 4. But it must be equal 2. I think when Marat Bakirov made this test hi take not into consideration what "Q denotes amount of branches that should be preserved" but not "removed"! Please correct this test.
Re: Last test is BAD!!!
Posted by zhougelin 5 Apr 2004 18:17
I agree with Fly.
Re: Last test is BAD!!!
Posted by Vladimir Yakovlev (USU) 5 Apr 2004 21:38
Incorrect test was deleted.
Re: Last test is BAD!!!
Posted by Fly 5 Apr 2004 21:58
Don't delete it. Correct this test. Because without this test problem mey be solve by wrong solution.

I can offer you another one good test... If you want.
Re: Last test is BAD!!!
Posted by Vladimir Yakovlev (USU) 5 Apr 2004 23:38
Ok, I corrected this test. But it doesn't contain zeroes anymore.
Re: Last test is BAD!!!
Posted by Fly 8 Apr 2004 20:10
Here is my test:

7 3
1 2 1
1 3 39
2 4 40
2 5 40
3 6 39
3 7 39

It have another configuration than test 11.
Re: Last test is BAD!!!
Posted by tests 19 Sep 2004 08:52
IS THE ANSWER 117?
Re: Last test is BAD!!!
Posted by Diac Paul 3 Oct 2004 03:18
My program says 81 and i think it's correct but I got wa on test 11 :))

Edited by author 03.10.2004 03:35

Edited by author 03.10.2004 03:35

Edited by author 03.10.2004 03:35
Re: Last test is BAD!!!
Posted by bk03 18 Nov 2006 09:28
U stupid ! The correct answer is 117 = 39+39+39