結果
| 問題 | No.2715 Unique Chimatagram |
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2024-04-06 15:27:54 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 337 ms |
| コンパイル使用メモリ | 85,632 KB |
| 実行使用メモリ | 64,768 KB |
| 最終ジャッジ日時 | 2026-04-17 03:54:03 |
| 合計ジャッジ時間 | 3,958 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 34 WA * 6 |
ソースコード
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)
H20