結果
問題 |
No.2715 Unique Chimatagram
|
ユーザー |
👑 |
提出日時 | 2024-02-08 10:12:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 271 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-28 12:50:19 |
合計ジャッジ時間 | 3,825 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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(S+"z")) print(-1)