結果

問題 No.418 ミンミンゼミ
ユーザー makonagix
提出日時 2017-01-06 22:01:04
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 215 bytes
コンパイル時間 430 ms
コンパイル使用メモリ 55,896 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-16 02:16:09
合計ジャッジ時間 1,213 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdio>
#include <cctype>
using namespace std;

int main() {
	int x = 0;
	char a;
	for (int i = 1; i <= 100; i++) {
		cin >> a;
		if (a == 'm') x++;
	}
	cout << x << endl;
	return 0;
}
0