|
|
вернуться в форумWhat is the answer for this test? What is the answer for this test? 4 1 1 2 1 2 3 0 2 4 0 Can i remove 0-branches from tree or not? This particular test case is incorrect, becase the root has only one son (-) Re: This particular test case is incorrect, becase the root has only one son (-) Another test: 5 1 1 2 1 1 5 0 2 3 0 2 4 0 Re: Must be 1 (-) So can i remove 0-branches? Edited by author 27.10.2004 17:03 Yes, sure. Why would you think you can't? (+) The idea of not-removing 0-branches arised because the test where incorrect. Re: Yes, sure. Why would you think you can't? (+) Thank you for explanation :) Hello Roman! I have WA on test #6, and you? Can anybody help me? I can not understand what is wrong :(. Thanks. Re: Hello Roman! I have WA on test #6, and you? Can anybody help me? I can not understand what is wrong :(. Thanks. I don't solved 1018 yet. But i think that this problem can be solved with DP. Re: Hello Roman! I have WA on test #6, and you? Can anybody help me? I can not understand what is wrong :(. Thanks. Mine is crash(stack overflow),can you help me. |
|
|