結果
| 問題 | No.2737 Compound Word |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-22 11:51:23 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 516 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-05-01 20:29:51 |
| 合計ジャッジ時間 | 6,148 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 1 WA * 26 |
ソースコード
n = int(input())
s = []
for _ in range(n):
s.append(input())
s = list(set(s))
sl = len(s)
d = []
for i in range(sl):
for j in range(i+1, sl):
d.append(s[i]+s[j])
print(len(set(d)))