Keep getting TLE on BST problem !

Revision en1, by Kettlebell, 2017-04-17 21:06:36

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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Kettlebell 2017-04-17 21:06:36 282 Initial revision (published)