Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92944 Hope 08有几个闰年 Python3 Accepted 37 MS 3784 KB 166 2024-10-07 10:29:27

Tests(10/10):


Code:

s = input().split() s = list(map(int, s)) cout = 0 for year in s: if year % 400 == 0 or (year % 4 == 0 and year % 100 != 0): cout += 1 print(cout)