結果
| 問題 |
No.418 ミンミンゼミ
|
| コンテスト | |
| ユーザー |
s1dim
|
| 提出日時 | 2016-09-12 22:45:29 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 335 bytes |
| コンパイル時間 | 1,464 ms |
| コンパイル使用メモリ | 165,776 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-16 01:23:05 |
| 合計ジャッジ時間 | 2,252 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 25 |
ソースコード
#include <bits/stdc++.h>
#define REP(k,n) for(int (k)=0;(k)<(n);(k)++)
using ll = long long;
using ull = unsigned long long;
using namespace std;
string s;
int a=0;
void solve()
{
cin>>s;
REP(i,s.length()) if(s[i]=='i') a++;
cout << a << endl;
}
int main(){cin.tie(0);ios_base::sync_with_stdio(false);solve();return 0;}
s1dim