I wrote this code for the problem FLOW010 and when I run it in the IDE mode, it gives me the right output. But when I submit it, it says wrong answer.
I’ve just started coding and will appreciate your help
Here’s the link:
https://www.codechef.com/viewsolution/28492291