class Solution {
public:
bool canWinNim(int n) {
return n % 4 != 0;
}
};
相关文章
- Leetcode 292 Nim Game 博弈论
- LeetCode: Nim Game
- LeetCode 292. Nim Game (取物游戏)
- 292. Nim Game(easy)
- 一次失败的刷题经历:[LeetCode]292之尼姆游戏(Nim Game)
- 一次失败的刷题经历:[LeetCode]292之尼姆游戏(Nim Game)(转)
- [LeetCode] Nim Game 尼姆游戏
- LeetCode Nim Game (简单nim)
- LeetCode Javascript实现 344. Reverse String 292. Nim Game 371. Sum of Two Integers
- 【LeetCode】292. Nim Game 解题报告(Java & Python)