100 Accepted
# | 状态 分数 | 耗时 | 内存占用 |
---|---|---|---|
#1 | Accepted 20 | 28ms | 3.8 MiB |
#2 | Accepted 20 | 27ms | 3.7 MiB |
#3 | Accepted 20 | 27ms | 3.8 MiB |
#4 | Accepted 20 | 27ms | 3.6 MiB |
#5 | Accepted 20 | 28ms | 3.8 MiB |
代码
year = int(input())
if (year % 400 == 0) or ((year % 4 == 0) and (year % 100 != 0)):
print(1)
else:
print(0)
信息
- 递交者
- 题目
- J0029 【深基3.例3】闰年判断
- 语言
- Python3
- 代码长度
- 118 Bytes
- 递交时间
- 2024-3-19 21:48:24
- 评测时间
- 2024-3-19 21:48:24
- 分数
- 100
- 总耗时
- 137ms
- 峰值时间
- 28ms
- 峰值内存
- 3.8 MiB