結果

問題 No.418 ミンミンゼミ
ユーザー くれちー
提出日時 2016-09-29 00:13:43
言語 C90
(gcc 12.3.0)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 153 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 19,712 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-16 01:31:09
合計ジャッジ時間 860 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main() {
	char s;
	int cnt = 0;

	while ((s = getchar()) != '\n') {
		if (s == 'm') cnt++;
	}

	printf("%d\n", cnt);
	return 0;
}
0