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

here it is:
4 1
1 2 1
1 3 2
2 4 3

Your answer can be 1 but it must be 2.

ans = 2;
Adam kishi olar... Misali elememisen amma test qoyursan foruma??? Bashga vaxt kishilikden danishirsan... Algoritmin de ozun kimi efeldi... sagol
From the problem,
'any biparous branch splits up to exactly two new branches'

My answer is 2.
ძამაანთ [Tbilisi SU] Re: Do you want really good test? this test ruined my algo. // Problem 1018. Binary Apple Tree 23 Oct 2013 03:38
LOL my AC code failed this test :D