結果
| 問題 | No.2715 Unique Chimatagram |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-05 21:36:03 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 226 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-01 01:49:45 |
| 合計ジャッジ時間 | 3,547 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 36 WA * 4 |
ソースコード
from collections import defaultdict
dd=defaultdict(int)
n=int(input())
for i in range(n):
s=''.join(sorted(input()))
dd[s]+=1
for k,v in dd.items():
if v==1:
print(k+'z')
break
else:
print(-1)