Nim Games step
has a step n, 0 ~ n-1, on each step there is a pile of stones, gravel on the number of step i to i-1 can only move up, move at least one each, and finally all the stones are 0 moves to step on.
Conclusion: Stone on odd or different ladder up, if 0, it is losing the upper hand, otherwise the upper hand to win
Ladder nim game
Guess you like
Origin www.cnblogs.com/war1111/p/11333921.html
Recommended
Ranking