Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Chayatoeyy
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-07 13:57:38
#include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
int check[8]={0};
string s;
cin>>s;
for(int i=0;i<s.length();i++){
check[s[i]-'A']++;
}
for(int i=0;i<8;i++){
cout << check[i] << " ";
}
return 0;
}