95172024-02-22 13:30:01DohajovDanielVetélkedő (75 pont)python3Wrong answer 5/75316ms18280 KiB
from collections import defaultdict
def kezdoert():
    return 0
vetaz = defaultdict(kezdoert)
csdb = int(input())
for i in range(csdb):
    azon = list(str(input()))
    if "\r" in azon: azon.remove("\r")
    azon.sort()
    vetaz[''.join(azon)] +=1
vetazd = dict(vetaz)
for i in vetazd:
    if vetazd[i] == 1:
        print(i)
        break

"""
5
9d6
8ac2
ica
c28a
d69

"""
SubtaskSumTestVerdictTimeMemory
base5/75
1Accepted0/020ms11832 KiB
2Accepted0/0312ms16720 KiB
3Wrong answer0/520ms12492 KiB
4Wrong answer0/520ms12400 KiB
5Wrong answer0/519ms12476 KiB
6Wrong answer0/520ms12572 KiB
7Wrong answer0/523ms13144 KiB
8Wrong answer0/523ms13136 KiB
9Accepted5/525ms13216 KiB
10Wrong answer0/5170ms15088 KiB
11Wrong answer0/5195ms15976 KiB
12Wrong answer0/5225ms17368 KiB
13Wrong answer0/5254ms17844 KiB
14Wrong answer0/5282ms18028 KiB
15Wrong answer0/5316ms18020 KiB
16Wrong answer0/5312ms18280 KiB
17Wrong answer0/5282ms18116 KiB