This is an equivalent description of "Wythoff's Game". But you don't actually need to know fancy theory to solve the problem. At first generate some grundy value form smaller numbers. Then find a pattern. The pattern is very hard to find but you will be amazed to see that the pattern is related to golden ratio.

Statistics

67% Solution Ratio
ghazanfarEarliest, Jan '17
Bishal_GFastest, 0.0s
Bishal_GLightest, 131 kB
SUMbit_011Shortest, 438B
Toph uses cookies. By continuing you agree to our Cookie Policy.