結果
問題 | No.418 ミンミンゼミ |
ユーザー |
|
提出日時 | 2017-11-29 17:33:07 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 17 ms / 1,000 ms |
コード長 | 183 bytes |
コンパイル時間 | 575 ms |
コンパイル使用メモリ | 67,016 KB |
最終ジャッジ日時 | 2025-01-05 04:31:58 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
#include<iostream>#include<string>using namespace std;int main() {string s; cin >> s; int cnt = 0; for (int i = 0; i < s.size(); i++)if (s[i] == 'm')cnt++; cout << cnt << endl;}