Leetcode 292 Nim Game 博弈论

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

posted @ 2016-01-15 12:31  Breeze0806  阅读(217)  评论(1编辑  收藏  举报