Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
139620 刘柠锐 [在线测评解答教程] 闰年 Python3 Accepted 35 MS 3772 KB 183 2025-12-08 16:28: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")