結果
問題 |
No.2737 Compound Word
|
ユーザー |
![]() |
提出日時 | 2024-04-20 15:27:02 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 176 bytes |
コンパイル時間 | 179 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-12 11:06:33 |
合計ジャッジ時間 | 1,896 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 27 |
ソースコード
num = int(input()) words=[] for i in range(num): words.append(input()) c = {} for i in range(num): for j in range(j,num): c[words[i]+words[j]] = 1 print(len(c.keys()))