Feedback for LASTLEVELS problem

Problem Link: LASTLEVELS Problem - CodeChef


The last output should have been 1200 instead of 1185

no, it should be 1185 because there is no need to take a break if the game has been completed. so, it will be 24*45+((24/3)-1)*15
you have to check that if X is divisible by 3 then you have to decrease by 1.