結果
| 問題 |
No.2737 Compound Word
|
| コンテスト | |
| ユーザー |
kabut000
|
| 提出日時 | 2024-04-20 12:41:30 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 31 ms / 2,000 ms |
| コード長 | 202 bytes |
| コンパイル時間 | 163 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 11,136 KB |
| 最終ジャッジ日時 | 2024-10-12 08:04:16 |
| 合計ジャッジ時間 | 1,772 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 27 |
ソースコード
n = int(input())
s = [input() for _ in range(n)]
t = set()
for i in range(len(s)):
for j in range(len(s)):
if i == j:
continue
t.add(s[i] + s[j])
print(len(t))
kabut000