結果
問題 | No.418 ミンミンゼミ |
ユーザー |
|
提出日時 | 2019-07-27 23:07:10 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 20 ms / 1,000 ms |
コード長 | 207 bytes |
コンパイル時間 | 1,830 ms |
コンパイル使用メモリ | 193,704 KB |
最終ジャッジ日時 | 2025-01-07 09:40:35 |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
#include <bits/stdc++.h>using namespace std;typedef long long ll;int main() {string s;cin>>s;int ans = 0;for (auto c : s) if (c == 'm') ans++;cout << ans << endl;return 0;}