Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Krispans
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.002 second
Submitted On: 2026-09-24 09:25:54
#include <iostream>
using namespace std;
int main(){
string s;
cin >> s;
int n= s.length();
int box[8] = {0};
for (int i=0; i<n; i++){
box[s[i]-65]++;
}
for (int i=0; i<8; i++){
cout << box[i] << ' ';
}
}