Please help me out i don't why its showing wrong

,

https://www.codechef.com/viewsolution/48520365
https://www.codechef.com/problems/HS08TEST

Please help me out I don’t why it is showing wrrong even if the answer is coming correct.
Its ATM problem

Your Code ACfied
You need to know that there was no need to print "the remaining balance is " kind of stuff , neither you needed to print $ , You forgot the case when u+0.5==v , And you need to take the input in order , in your code you were taking V before and U afterwards , which is completely wrong .

1 Like

I got it thank u @dhruv788