2025-07-29 17:38:44 +0300 MSK

Nim Game

Code

class Solution:
    def canWinNim(self, n: int) -> bool:
        return n % 4 != 0