Submission #24861102


Source Code Expand

n = int(input())
a = list(map(int, input().split()))

aa = []
for i, v in enumerate(a):
    aa += [[v, i]]

aa = sorted(aa, reverse = True)

print(aa[1][1] + 1)

Submission Info

Submission Time
Task B - Booby Prize
User cubesat
Language Python (3.8.2)
Score 200
Code Size 169 Byte
Status AC
Exec Time 439 ms
Memory 43020 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 2
AC × 10
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, random_01.txt, random_02.txt, random_03.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
hand_01.txt AC 24 ms 8876 KiB
hand_02.txt AC 18 ms 9052 KiB
hand_03.txt AC 22 ms 8880 KiB
hand_04.txt AC 17 ms 8888 KiB
hand_05.txt AC 19 ms 8884 KiB
random_01.txt AC 423 ms 42716 KiB
random_02.txt AC 439 ms 43020 KiB
random_03.txt AC 438 ms 43020 KiB
sample_01.txt AC 24 ms 8884 KiB
sample_02.txt AC 25 ms 9028 KiB