Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
142193 丁俊杰 08有几个闰年 Python3 Accepted 31 MS 3780 KB 229 2026-01-01 16:03:11

Tests(10/10):


Code:

a,b,c=input().split() a,b,c=int(a),int(b),int(c) res=0 if (a%4==0 and a%100!=0) or (a%400==0): res+=1 if (b%4==0 and b%100!=0) or (b%400==0): res+=1 if (c%4==0 and c%100!=0) or (c%400==0): res+=1 print(res)