Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151598 夏宇航 [在线测评解答教程] 闰年 Python3 Accepted 47 MS 3772 KB 169 2026-04-15 17:13:06

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")