How can I solve the problem CTHREE(https://www.codechef.com/COOK91/problems/CTHREE) in given time limit?
Please tell me an efficient approach.
Asked by: Rahul_Mandal on April 7, 2019, 6:34 p.m. Last updated on April 7, 2019, 6:34 p.m.
Have a look at the editorial for this problem.
Comment here if you face diffucilty understanding any part of the editorial or implementing it.
link - https://discuss.codechef.com/questions/123307/cthree-editorial