結果
| 問題 |
No.2715 Unique Chimatagram
|
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2025-05-14 21:44:29 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 261 bytes |
| コンパイル時間 | 463 ms |
| コンパイル使用メモリ | 82,288 KB |
| 実行使用メモリ | 81,736 KB |
| 最終ジャッジ日時 | 2025-05-14 21:44:35 |
| 合計ジャッジ時間 | 6,491 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 34 WA * 6 |
ソースコード
from collections import defaultdict
dic = defaultdict(int)
N = int(input())
for _ in range(N):
s = list(input())
for i in range(25):
dic["".join(sorted(s+[chr(97+i)]))] += 1
for k,v in dic.items():
if v == 1:
print(k)
exit()
ntuda