結果

問題 No.418 ミンミンゼミ
ユーザー reforefo2
提出日時 2020-05-09 21:30:37
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 1,000 ms
コード長 174 bytes
コンパイル時間 244 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-06 04:59:57
合計ジャッジ時間 1,621 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
n = len(S)
minlist = []
count = 0
for i in range(n-1):
    minlist.append("mi" + "-"*(i) + "n")
for i in range(n-1):
    count += S.count(minlist[i])
print(count)
0