Leetcode 292 Nim Game 博弈论

class Solution {
public:
    bool canWinNim(int n) {
        return n % 4 != 0;
    }
};

原文地址:https://www.cnblogs.com/onlyac/p/5132954.html