Do you want really good test? this test ruined my algo.
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;
Re: Do you want really good test? this test ruined my algo.
Adam kishi olar... Misali elememisen amma test qoyursan foruma??? Bashga vaxt kishilikden danishirsan... Algoritmin de ozun kimi efeldi... sagol
Re: Do you want really good test? this test ruined my algo.
Posted by
Yugi 22 Oct 2009 15:46
From the problem,
'any biparous branch splits up to exactly two new branches'
My answer is 2.
Re: Do you want really good test? this test ruined my algo.
LOL my AC code failed this test :D