QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#574153 | #9308. World Cup | playerOWO | RE | 0ms | 0kb | Python3 | 531b | 2024-09-18 20:56:24 | 2024-09-18 20:56:26 |
answer
t=eval(input())
score=[]
for i in range(t):
for j in range(32):
x=eval(input())
score.append(x)
China=score[0]
score.sort()
index=score.find(China)
if(index==32):
print(1)
elif(index==31):
print(2)
print()
elif(index>=24):
print(4)
print()
elif(index>=16):
print(8)
print()
elif(index>=8):
print(16)
print()
else :
print(32)
print()
score.clear()
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Dangerous Syscalls
input:
1 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1