結果
問題 | No.8020 サンシャイン◯崎 |
ユーザー |
![]() |
提出日時 | 2017-03-31 22:22:26 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 4 ms / 1,000 ms |
コード長 | 230 bytes |
コンパイル時間 | 1,403 ms |
コンパイル使用メモリ | 160,416 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-23 13:47:22 |
合計ジャッジ時間 | 2,128 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main() { string S; cin >> S; string T = "YEAH!"; for(int i = 0; i < 5; i++) { if(i > 0) cout << " "; cout << count(begin(S), end(S), T[i]); } cout << endl; }