結果

問題 No.2737 Compound Word
ユーザー 𖧱𖦸𖥩𖥣𖥩𖥣
提出日時 2024-04-30 11:51:10
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 189 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 82,440 KB
実行使用メモリ 60,272 KB
最終ジャッジ日時 2024-11-20 06:42:06
合計ジャッジ時間 2,047 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ls = []
for i in range(n):
	ls.append(input())
lz = []
for i in range(n):
	for j in range(n):
		if i != j:
			w = ls[i]+ls[j]
			if w in lz:
				lz.append(w)
print(len(lz))
0