How to optimize this ?? I am getting TLE
Problem Code: SALARY
My code https://www.codechef.com/viewsolution/42861356
Here’s the editorial:
thanks