Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
139666 余秋烨 [在线测评解答教程] 闰年 Python3 Accepted 33 MS 3764 KB 205 2025-12-08 16:41:40

Tests(11/11):


Code:

tt = int(input()) for _ in range(tt): year = int(input()) if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0): print("Yes") else: print("No")