SPOJ [ QTREE — Query on a tree ] problem.
Please help me to optimise my code i am getting TLE since 6 hours.
problem link- link solution link- link
I tried every possible way to get rid over TLE but nothing works.
Codeforces Round 946 Solution Discussion