Submission #24904435


Source Code Expand

N = int(input())
A = list(map(int, input()))
m = {}
for i in range(N):
  if not i in m:
    m[i] = A[i]
m = sorted(m.items(), key=lambda x:x[1])
print(m[-2])

Submission Info

Submission Time
Task B - Booby Prize
User Tommy3
Language Python (3.8.2)
Score 0
Code Size 164 Byte
Status RE
Exec Time 23 ms
Memory 12860 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 200
Status
RE × 2
RE × 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 RE 18 ms 9120 KiB
hand_02.txt RE 18 ms 9180 KiB
hand_03.txt RE 21 ms 9116 KiB
hand_04.txt RE 17 ms 8888 KiB
hand_05.txt RE 17 ms 9120 KiB
random_01.txt RE 23 ms 11532 KiB
random_02.txt RE 21 ms 12860 KiB
random_03.txt RE 23 ms 12672 KiB
sample_01.txt RE 23 ms 8996 KiB
sample_02.txt RE 17 ms 9056 KiB