Every test case gives TLE

link to my code : https://ide.codingblocks.com/s/238942

used divide and conquer method but still gives TLE

@O17LPOLA020011
Your code is correct, there must be error in c_p_c() function. Try to submit your code after commenting line 79

thanks that worked ! :smiley:

1 Like