QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#574350 | #9308. World Cup | playerOWO | Compile Error | / | / | Python3 | 447b | 2024-09-18 21:42:03 | 2024-09-18 21:42:04 |
Judging History
answer
t=eval(input())
score=[]
for i in range(t):
score=[int(i) for i in input().split()]
score=list(score)
China=score[0]
score.sort()
index=score.index(China)
if(index==31):
print(1)
elif(index==30):
print(2)
elif(index>=):
print(4)
elif(index>=7):
print(8)
elif(index>=2):
print(16)
else :
print(32)
score.clear()
Details
File "answer.code", line 14 elif(index>=): ^ SyntaxError: invalid syntax