class Solution:
def canWinNim(self, n):
"""
:type n: int
:rtype: bool
"""
if n % 4 == 0:
return False
else:
return True
leetcode - 292 - Nim游戏
猜你喜欢
转载自blog.csdn.net/hustwayne/article/details/83592257
今日推荐
周排行