Project Euler #112: Bouncy numbers

  • + 1 comment

    For the case n = 90 and m = 100 (given in sample input) n/m == 0.9 right So the number of No of BouncyNos / Total Numbers should be 0.9

    But the output given as the answer -> 21780 (for which No of BouncyNos / Total Numbers = 0.857414 ) where as my output is occuring is 71980 (for this No of BouncyNos / Total Numbers = 0.9)...Correct me if i am wrong