結果
問題 |
No.2737 Compound Word
|
ユーザー |
|
提出日時 | 2024-04-25 20:18:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 222 bytes |
コンパイル時間 | 325 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-08 08:04:09 |
合計ジャッジ時間 | 2,094 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 27 |
ソースコード
n = int(input()) lst = [] for i in range(0,n): lst[i] = input() dic = {} for i in range(0,n): for j in range(0,n): if i == j: continue s = lst[i] + lst[j] if s in dic: continue dic[s] = s print(count(dic))