Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: sakuragichan
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.002 second
Submitted On: 2026-09-08 14:05:30
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
char a[8] = {'A','B','C','D','E','F','G','H'};
for (char x : a) {
cout << count(s.begin(), s.end(), x) << " ";
}
}