Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: mister_o_hater_no1

Problemset: อะนาแกรม 1

Language: cpp

Time: 0.003 second

Submitted On: 2025-10-15 18:18:11

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

    int main() {
        cin.tie(nullptr)->sync_with_stdio(0);
        //Initial variable
        string word;cin>> word;
        int alpha_val[123]= {0};
        for (int i= 0; i< word.length(); ++i) {
            alpha_val[word[i]]++;
        }
        for (int i= 65; i< 73; ++i) {
            cout<< alpha_val[i]<< ' ';
        }

        return 0;
    }