| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 139634 | 万明宇 | [在线测评解答教程] 闰年 | C++ | Compile Error | 0 MS | 0 KB | 149 | 2025-12-08 16:31:14 |
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")
Main.cc:1:1: error: 'tt' does not name a type
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")
^