Comments

Thanks a lot for your help. I'll keep in mind about the instructions next time. And do you mean $$$L$$$ should have the largest value than the whole subtree of $$$V$$$? or am I missing something?

Thanks!

On Ashishgup → Indian ICPC Regionals, 8 years ago
+6

Can anyone tell me how to solve ALIENINV from Amritapuri regionals. I have been struggling with this for days.