結果

問題 No.2715 Unique Chimatagram
ユーザー H20
提出日時 2024-04-06 15:27:54
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 464 ms
コンパイル使用メモリ 82,032 KB
実行使用メモリ 65,976 KB
最終ジャッジ日時 2024-10-01 03:52:17
合計ジャッジ時間 4,794 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 34 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import collections
N = int(input())
C = collections.Counter()
for _ in range(N):
    C[''.join(sorted(list(input()))+['a'])]+=1
for k,v in C.items():
    if v==1:
        print(k)
        exit()
print(-1)

0