题目链接:https://leetcode.com/problems/nim-game/
代码
class Solution:
def canWinNim(self, n: int) -> bool:
return n%4!=0
题目链接:https://leetcode.com/problems/nim-game/
class Solution:
def canWinNim(self, n: int) -> bool:
return n%4!=0