Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: onlyme910
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.003 second
Submitted On: 2025-10-08 15:12:56
#include <bits/stdc++.h>
using namespace std;
int arr[8];
int main(){
string s;
cin >> s;
int sl = s.length();
for(int i = 0;i< sl;i++){
arr[s[i]-'A']++;
}
for(int i = 0;i< 8;i++){
cout << arr[i] << " ";
}
}