Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132967 林睿 [在线测评解答教程] 闰年 Python3 Accepted 61 MS 3772 KB 169 2025-10-12 18:05:16

Tests(11/11):


Code:

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