結果
| 問題 | No.2715 Unique Chimatagram | 
| コンテスト | |
| ユーザー | 👑 | 
| 提出日時 | 2024-02-08 10:09:20 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 179 bytes | 
| コンパイル時間 | 216 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-09-28 12:50:14 | 
| 合計ジャッジ時間 | 4,301 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 36 WA * 4 | 
ソースコード
#嘘解法
I,R=input,range
D={}
for n in R(int(I())):
	S="".join(sorted(I()))
	if S in D:D[S]+=1
	else:D[S]=1
for S in reversed(sorted(D)):
	if D[S]<2:exit(print("z"+S))
print(-1)
            
            
            
        