結果
| 問題 | No.418 ミンミンゼミ |
| コンテスト | |
| ユーザー |
arrows
|
| 提出日時 | 2017-01-20 19:54:52 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| + 305µs | |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 303 ms |
| コンパイル使用メモリ | 75,520 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-13 10:03:57 |
| 合計ジャッジ時間 | 1,873 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 25 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
string s;
cin >> s;
int cnt = 0;
for (char c : s) {
if (c == 'n') ++cnt;
}
cout << cnt << endl;
return 0;
}
arrows