Submission
Status:
--------------------
Subtask/Task Score:
0/100
Score: 0
User: Sense.exe
Problemset: ISBN
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-07 21:21:48
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
string s;
cin >> s;
map<char,int> m;
for(auto x:s) {
m[x]+=1;
}
for(int i=0; i<8; i++) {
cout << m[char('A'+i)] << " ";
}
}