Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: mocngaijakraila
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.002 second
Submitted On: 2026-02-07 13:57:01
#include<bits/stdc++.h>
using namespace std;
int arr[8];
int main() {
string s; cin>>s;
for(char c:s) {
int asc=c-'A';
arr[asc]++;
}
for(int i:arr) cout<<i<<' ';
return 0;
}