QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#570189 | #9308. World Cup | ryno# | Compile Error | / | / | C++23 | 350b | 2024-09-17 14:35:10 | 2024-09-17 14:35:13 |
Judging History
answer
T = int(input())
for _ in range(T):
A = list(map(int, input().split()))
c = sum(x <= A[0] for x in A)
# c = 32 - c + 1
if c <= 2:
print(32)
elif c <= 6:
print(16)
elif c <= 13:
print(8)
elif c <= 27:
print(4)
elif c <= 31:
print(2)
else:
print(1)
詳細信息
answer.code:5:7: error: invalid preprocessing directive #c 5 | # c = 32 - c + 1 | ^ answer.code:1:1: error: ‘T’ does not name a type 1 | T = int(input()) | ^