QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#574350#9308. World CupplayerOWOCompile Error//Python3447b2024-09-18 21:42:032024-09-18 21:42:04

Judging History

你现在查看的是最新测评结果

  • [2024-09-18 21:42:04]
  • 评测
  • [2024-09-18 21:42:03]
  • 提交

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

詳細信息

  File "answer.code", line 14
    elif(index>=):
                ^
SyntaxError: invalid syntax