S
teward
分享是一種喜悅、更是一種幸福
程式語言
- LeetCode - C++ -
292. Nim Game
題目:
解答:
class Solution { public: bool canWinNim(int n) { return n % 4 != 0; } };