Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: asdasd
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.003 second
Submitted On: 2025-10-13 08:26:58
#include <iostream>
using namespace std;
int main(){
string word;
cin>>word;
int arr[128]={0};
for(int i = 0 ; i<word.length() ; i++){
arr[word[i]] += 1;
}
for(char j = 'A' ; j<='H' ; j++){
cout<<arr[j]<<" ";
}
}