結果
| 問題 |
No.2737 Compound Word
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-10 01:40:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 261 bytes |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-10 01:40:03 |
| 合計ジャッジ時間 | 1,851 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 27 |
ソースコード
N=input()
lis=[]
T=0
while True:
S=input()
lis.append(S)
if len(S)==0:
break
for n in range(0,len(lis)-2):
for k in range(n+1,len(lis)-1):
if len(lis[k].split(lis[n]))==1:
T+=2
else:
T+=1
print(T)