結果

問題 No.8020 サンシャイン◯崎
ユーザー kotamanegi
提出日時 2017-03-31 22:42:14
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 4 ms / 1,000 ms
コード長 705 bytes
コンパイル時間 800 ms
コンパイル使用メモリ 93,020 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-23 13:58:28
合計ジャッジ時間 1,654 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <algorithm>
#include <utility>
#include <functional>
#include <cstring>
#include <queue>
#include <stack>
#include <math.h>
#include <iterator>
#include <vector>
#include <string>
#include <set>
#include <math.h>
#include <iostream> 
#include<map>
#include <iomanip>
#include <time.h>
#include <random>
#include <stdlib.h>
#include <list>
#include <typeinfo>
#include <list>
#include <set>
using namespace std;
int hoge[1000] = {};
int main() {
	string s;
	cin >> s;
	for (int i = 0;i < s.length();++i) {
		hoge[s[i]]++;
	}
	cout << hoge['Y'] << " " << hoge['E'] << " " << hoge['A'] << " " << hoge['H'] << " " << hoge['!'] << endl;
	return 0;
}
0