Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: colo39

Problemset: อะนาแกรม 1

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-01 13:59:33

#include <bits/stdc++.h>
using namespace std;
map<char,int> mp;
int main () {
    ios_base::sync_with_stdio(false);
    cin.tie(0);

    string s;
    cin >> s;

    for (auto c : s) mp[c]++;

    cout << mp['A'] << " ";
    cout << mp['B'] << " ";
    cout << mp['C'] << " ";
    cout << mp['D'] << " ";
    cout << mp['E'] << " ";
    cout << mp['F'] << " ";
    cout << mp['G'] << " ";
    cout << mp['H'] << " ";
}