| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67631 | 金浩 | 08有几个闰年 | Python3 | Accepted | 31 MS | 3764 KB | 226 | 2024-03-17 11:31:44 |
def leyear(y): if y%400==0 or (y%4==0 and y%100!=0): return True else: return False n_list=input().split() m=0 for i in range(len(n_list)): if leyear(int(n_list[i])): m+=1 print(m)