Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.

Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).

I recognized that this case "1/-2147483647" would not work in my submitted solution because it causes the ＴＩＭＥ ＬＩＭＩＴ ＰＲＯＢＬEＭ , but actually I received an accept .

Even Mathematica can't figure out the solution, whose repeating period is 195225786.

I don't think I can find an algorithm that developers of Mathematica don't know, so I give up.

I realized the same problem. What I got is a 'out of memory error'. I think the explanation by gqq is acceptable.

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