結果
| 問題 | No.418 ミンミンゼミ |
| コンテスト | |
| ユーザー |
s1dim
|
| 提出日時 | 2016-09-12 22:45:29 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 335 bytes |
| 記録 | |
| コンパイル時間 | 987 ms |
| コンパイル使用メモリ | 179,532 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2026-03-30 16:45:35 |
| 合計ジャッジ時間 | 1,842 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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