LeetCode 292 Nim Game
LeetCode 292 Nim Game
https://leetcode.com/problems/nim-game/
当能被4整除时,才会输。
bool canWinNim(int n) { return n%4; }
LeetCode 292 Nim Game
https://leetcode.com/problems/nim-game/
当能被4整除时,才会输。
bool canWinNim(int n) { return n%4; }