Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: UNJE0o
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.005 second
Submitted On: 2026-10-11 08:43:51
#include<iostream>
#include<cmath>
#include<cctype>
#include<string>
#include<algorithm>
#include<set>
#include<ios>
#include<vector>
#include<stdio.h>
#include<iomanip>
using namespace std;
#define en '\n'
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string s;cin >> s;
int arr[8] = {0};
for(int i = 0;i < s.size();i++){
arr[ (int)(s[i]-'A')] += 1;
}
for(int i = 0;i < 8;i++){
cout << arr[i] << " ";
}
}