Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104460 潘允晨 08有几个闰年 Python3 Accepted 40 MS 3776 KB 189 2025-01-05 09:45:50

Tests(10/10):


Code:

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