結果
問題 |
No.418 ミンミンゼミ
|
ユーザー |
![]() |
提出日時 | 2020-12-20 20:50:48 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 8 ms / 1,000 ms |
コード長 | 194 bytes |
コンパイル時間 | 1,830 ms |
コンパイル使用メモリ | 192,700 KB |
最終ジャッジ日時 | 2025-01-17 04:57:41 |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ string S; cin>>S; int cnt=0; for(int i=0;i<S.length();i++){ if(S.at(i)=='n') cnt++; } cout<<cnt<<endl; return 0; }