DCGAME - Editorial

Any comments/suggestions on how I can optimize my solution to pass the last subtask ? I did stack span as well as binary search and linear sum as well. But last sub task is throwing TLE !

https://www.codechef.com/viewsolution/7937396

Nice Editorial

2 Likes

bhosri k editorialist bohot harami hote hai koi example nahi kuch nahi editorial k naam par aapni girlfriend ki kahani likh dete h…

//