Alwaldend
Docs
Light
Dark
Auto
Docs
Misc
Leetcode submissions
2025-07-29 17:38:44 +0300 MSK
2025-07-29 17:38:44 +0300 MSK
Nim Game
Tags:
Generated
Leetcode_submission
Links
https://leetcode.com/submissions/detail/1715915972/
Code
class
Solution
:
def
canWinNim
(self, n: int)
->
bool:
return
n
%
4
!=
0