My code gives wrong answer on submission but when give sample input through custom input. I get the same sample output as shown in the question. I can’t understand what’s wrong.Please help
My solution is
https://www.codechef.com/viewsolution/51759800
For Input
100 100.50
Expected
0.00
Your Output
100.50