結果
| 問題 | No.2737 Compound Word |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-25 20:16:02 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 225 bytes |
| 記録 | |
| コンパイル時間 | 1,011 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 20,700 KB |
| 最終ジャッジ日時 | 2026-05-08 14:06:54 |
| 合計ジャッジ時間 | 9,128 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))