葉林
Linked with GitHub
# LeetCode - 0292. Nim Game ### 題目網址:https://leetcode.com/problems/nim-game/ ###### tags: `LeetCode` `Easy` `數學` `拈(Nim)` ```cpp= /* -LeetCode format- Problem: 292. Nim Game Difficulty: Easy by Inversionpeter */ class Solution { public: bool canWinNim(int n) { return n & 3; } }; ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up