Contest:
(May CodeChef Starters 2021)
Problem :https://www.codechef.com/START4B/problems/SUBCENTR
Can anybody please help me why my code is giving TLE?
LCA concept: gfg using binary lifting
And rest concept of Editorialsit’s solutions
Code: https://www.codechef.com/viewsolution/47337440
Thanks in advance