smilelc3 / leetcode

Leetcode Solution C/C++/Golang Version(leetocde 刷题解答,C、C++、Golang 版本 )
GNU General Public License v3.0
3 stars 2 forks source link

第一题 #36

Closed smilelc3 closed 2 years ago

smilelc3 commented 2 years ago
# coding=utf-8

def can_win_nim(n):
    if (n % 4) == 0:
        return "false"
    else:
        return "true"

n = int(input())
print(can_win_nim(n))