Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: chs_14

Problemset: อะนาแกรม 1

Language: cpp

Time: 0.003 second

Submitted On: 2026-01-18 13:36:55

#include <bits/stdc++.h>
using namespace std;

vector<int> table(8);

int main() {
    cin.tie(0)->sync_with_stdio(0);

    string str;
    cin >> str;

    for (char &c : str)
    {
        ++table[c-'A'];
    }
    
    for (int &x : table)
    {
        cout << x << ' ';
    }
    

    return 0;
}