Submission
Status:
---x-----x
Subtask/Task Score:
0/100
Score: 0
User: Newton4566
Problemset: จำนวนเฉพาะ (2560)
Language: cpp
Time: 0.002 second
Submitted On: 2026-09-25 10:34:43
#include <iostream>
using namespace std;
int main() {
string word;
cin >> word;
int count[8] = {0};
for (char c : word) {
count[c - 'A'] += 1;
}
for (int n : count) {
cout << n << ' ';
}
cout << endl;
return 0;
}