I have an issue with this puzzle.
It is a pretty simple puzzle though I can’t get 100%.
I checked the math, I do everything correctly, All the tests passes but when I submit Test#7 dramatically fails.
I don’t know what special cases it focuses but I check output boundary which are false since it is said
1 <= MONEY <= 1000000 but Test#3 expect a 0 dans money (and cash) can exceed 1 000 000 on 0 is not EVEN.
I also tried to check the number of round (I was looping until nothing more come on stdin). It still dont pass.
Does anybody has a clue for the direction I should look at ?