https://www.codechef.com/JAN21C/problems/BILLRD here is the link of the question my code runs perfectly for subtask1 but shows tle for subtask 2 i cant figure how to reduce