Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
110756 柯轶炜 [在线测评解答教程] 闰年 Python3 Accepted 37 MS 3768 KB 135 2025-02-23 12:18:31

Tests(11/11):


Code:

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