Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
139659 余秋烨 [在线测评解答教程] 闰年 C++ Compile Error 0 MS 0 KB 169 2025-12-08 16:38:50

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:

Main.cc:1:1: error: 'tt' does not name a type
 tt = int(input())
 ^