DSA Learning Series [Contest 1] Problem --- LADDU

What is wrong in my code??
Please help me finding what am i doing wrong??

Question link — https://www.codechef.com/LRNDSA01/problems/LADDU

My code — https://www.codechef.com/viewsolution/33054202

In line 33, I think there is a mistake. The correct code should be:
total_laddus += 300 + bonus;
This should do it, everything else seems fine.

Thanks @am011. That was the mistake.
The solution has passed.
Thank you.