python求解
查看原帖
python求解
1609177
wstydbz楼主2024/12/8 22:29

s=input().split()

x=int(s[0])

if (x%4==0 and x%100!=0) or x%400==0:

print("1")

else:

print("0")
2024/12/8 22:29
加载中...