Submission #72343088


Source Code Expand

n = int(input())
a = list(map(int, input().split()))
a_sorted = sorted(a)
ans = []

for i in range(3):
  for m in range(n):
    if a_sorted[i] == a[m]:
      ans.append(m+1)

print(*ans)

Submission Info

Submission Time
Task B - Trifecta
User Bobshroom
Language Python (CPython 3.13.7)
Score 200
Code Size 196 Byte
Status AC
Exec Time 9 ms
Memory 9184 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 random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
random_01.txt AC 9 ms 9084 KiB
random_02.txt AC 9 ms 9084 KiB
random_03.txt AC 9 ms 9072 KiB
random_04.txt AC 9 ms 9172 KiB
random_05.txt AC 9 ms 9184 KiB
random_06.txt AC 9 ms 9164 KiB
random_07.txt AC 9 ms 9072 KiB
random_08.txt AC 9 ms 9044 KiB
sample_01.txt AC 9 ms 9164 KiB
sample_02.txt AC 9 ms 9136 KiB