Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
139645 王晨逸 [在线测评解答教程] 闰年 Python3 Compile Error 0 MS 0 KB 160 2025-12-08 16:34:07

Tests(0/0):


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


Run Info:

  File "Main.py", line 1
    tt = int(input()) for _ in range(tt):
                        ^
SyntaxError: invalid syntax