Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: ssens3
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.004 second
Submitted On: 2026-09-29 16:20:02
#include <iostream>
#include <string>
using namespace std;
int main(){
string s; cin >> s; int a[8] = {0};
for (char c : s){
a[c - 'A']++;
}
for (int i : a){
cout << i << " ";
}
}