/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 18ms 3.312 MiB
#2 Accepted 62ms 13.348 MiB
#3 Accepted 62ms 13.254 MiB
#4 Accepted 62ms 13.172 MiB
#5 Accepted 62ms 13.66 MiB
#6 Accepted 62ms 13.16 MiB

Code

from collections import Counter

n = int(input())
a = list(map(int,input().split()))
x = Counter(a)
print([i for i in filter(lambda y: x[y] == 1,x)][0])
	

Information

Submit By
Type
Submission
Problem
P1095 Uncovering the Lone Heart
Language
Python 3 (Python 3.12.3)
Submit At
2024-11-04 15:34:00
Judged At
2024-11-11 02:33:47
Judged By
Score
100
Total Time
62ms
Peak Memory
13.66 MiB