結果
問題 |
No.418 ミンミンゼミ
|
ユーザー |
![]() |
提出日時 | 2016-09-09 22:28:57 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 283 bytes |
コンパイル時間 | 1,585 ms |
コンパイル使用メモリ | 158,332 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-16 01:15:10 |
合計ジャッジ時間 | 2,018 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 25 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define FOR(i,l,r) for(int i = (l);i < (r);i++) #define PB push_back #define MP make_pair #define ALL(x) (x).begin(),(x).end() typedef long long ll; string S; int main() { cin >> S; cout << count(ALL(S),'n') << endl; return 0; }