結果
問題 | No.418 ミンミンゼミ |
ユーザー |
|
提出日時 | 2021-09-19 01:12:06 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 1,000 ms |
コード長 | 265 bytes |
コンパイル時間 | 2,085 ms |
コンパイル使用メモリ | 191,692 KB |
最終ジャッジ日時 | 2025-01-24 15:50:32 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main(void){cin.tie(0);ios::sync_with_stdio(false);string s;int res = 0;cin >> s;for(auto it : s){if(it=='n') res++;}cout << res << '\n';return 0;}