LeetCode 292 Nim Game
https://leetcode.com/problems/nim-game/
当能被4整除时,才会输。
bool canWinNim(int n) { return n%4; }
原文:http://www.cnblogs.com/walker-lee/p/4878435.html