Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94143 余泽越 08有几个闰年 Python3 Accepted 34 MS 3788 KB 246 2024-10-19 19:38:23

Tests(10/10):


Code:

a = input().split() b = int(a[0]) c = int(a[1]) d = int(a[2]) x = 0 if b%4 == 0 and b%100 != 0 or b%400 == 0: x += 1 if c%4 == 0 and c%100 != 0 or b%400 == 0: x += 1 if d%4 == 0 and d%100 != 0 or d%400 == 0: x += 1 print(x)