lc #292 js

113 阅读1分钟

四倍不出

/**
 * @param {number} n
 * @return {boolean}
 */
var canWinNim = function(n) {
    return n % 4 !== 0;
};