結果

問題 No.418 ミンミンゼミ
ユーザー Prai
提出日時 2018-02-23 20:29:38
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 171 bytes
コンパイル時間 1,297 ms
コンパイル使用メモリ 28,928 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-16 02:32:03
合計ジャッジ時間 1,445 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
char s[101];
int main(void){
	int i,count=0;
	scanf("%s",s);
	for(i=0;i<=100;i++){
		if(s[i]=='m'){
			count++;
		}
	}
	printf("%d",count);
	return 0;
}
0