Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
104458 胡皓宇 08有几个闰年 Python3 Accepted 39 MS 3780 KB 226 2025-01-05 09:43:50

Tests(10/10):


Code:

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