### ToooRist's blog

By ToooRist, history, 10 months ago, ,

I can't find my mistake on this solution for this problem. Problem: http://www.spoj.com/problems/ADATREE/ Solution: https://pastebin.com/QjFae67a

 » 10 months ago, # |   0 Good day to you,try following input 11 1 23 18 22 6 22 10 20 4 28 9 0 10 10 2 If I'm not mistken, the answer shall be "0", is that true?Good Luck & Have Nice Day
•  » » 10 months ago, # ^ |   +8 Thanks a lot. I solved WA error. Now it gets TLE.