結果
| 問題 | No.418 ミンミンゼミ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-22 15:55:19 |
| 言語 | C (gcc 15.3.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 0 ms / 1,000 ms |
| + 671µs | |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 1,293 ms |
| コンパイル使用メモリ | 39,616 KB |
| 実行使用メモリ | 9,884 KB |
| 最終ジャッジ日時 | 2026-09-22 15:55:22 |
| 合計ジャッジ時間 | 2,824 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 25 |
ソースコード
#include <stdio.h>
#include <string.h>
int main(void)
{
char s[101];
int count = 0;
int i;
scanf("%s", s);
for (i = 0; i < strlen(s); i++) {
if (s[i] == 'm')
count++;
}
printf("%d\n", count);
return 0;
}