Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: matcherbrainner
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-04 11:14:24
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int count[8] = {0};
for (char c : s) {
count[c - 'A']++;
}
for (int i = 0; i < 8; i++) {
cout << count[i] << " ";
}
}