結果
| 問題 | No.418 ミンミンゼミ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-17 13:27:43 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 63 ms / 1,000 ms |
| + 661µs | |
| コード長 | 121 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 95,464 KB |
| 実行使用メモリ | 78,592 KB |
| 最終ジャッジ日時 | 2026-08-01 15:19:39 |
| 合計ジャッジ時間 | 3,295 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 25 |
ソースコード
s = input()
pattern = ["m","i","n"]
index=0
for si in s:
if si==pattern[(index%3)]:
index+=1
print(index//3)