Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: NovemNotes
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-15 12:02:47
#include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);cin.tie(NULL);
map<char,int> mp;
string s;cin >> s;
for(auto &x:s)mp[x]++;
for(int i='A';i<='H';i++){
cout << mp[char(i)] << " ";
}cout << "\n";
return 0;
}