I've tried almost everything I can think of to solve this. If anyone can give me a shred of clue, it'd be a great help(Since editorial is not published, yet).
http://mirror.codeforces.com/contest/797/submission/26460219
Thank you in advance.
Keep getting TLE on BST problem !
I've tried almost everything I can think of to solve this. If anyone can give me a shred of clue, it'd be a great help(Since editorial is not published, yet).
http://mirror.codeforces.com/contest/797/submission/26460219
Thank you in advance.