Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: tl.cpp
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.003 second
Submitted On: 2026-08-03 14:11:45
#include <bits/stdc++.h>
using namespace std;
string s;
map<char, int> mp;
int main() {
ios::sync_with_stdio(0), cin.tie(0);
cin >> s;
for (auto c : s) mp[c]++;
for (int i = 0; i < 8; i++) cout << mp['A' + i] << ' ';
}