Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92938 | Hope | 08判断是否为闰年 | Python3 | Accepted | 45 MS | 3768 KB | 185 | 2024-10-07 10:10:55 |
s = input().split() s = list(map(int, s)) year = s[0] if year % 400 == 0 or (year % 4 == 0 and year % 100 != 0): print(str(year) + " Yes") else: print(str(year) + " No")