This online judge question is not reasonable.

  • 2

    The repeating pattern could not determined by first repeating number.

    for example, 1/6 = 0.1(6) maybe correct cause the first repeating number is 6.

    but 10/23 = 0.(43478260869565521739130) which you can see that 0,1,2,3,4,5,6,7,8,9 appears multiple times.

  • 4

    Why do you think when 0,1,2,3,4,5,6,7,8,9 appears multiple times the question is not reasonable? The result is just related with the remainder?

  • 0

    inspiring comment!

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.