Problem Link http://www.codechef.com/problems/COUPON
Can anyone help me with this solution http://www.codechef.com/viewsolution/6986215 First tell what should I do to get 60 points and then 100 points.
I have got 20 points in this solution. I thought I would get TLE in rest of subtask but its giving WA. Can anyone tell me in which case I am getting WA