Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: wow123456
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.003 second
Submitted On: 2026-06-01 19:49:08
#include <iostream>
#include <vector>
using namespace std;
int main(){
string s; cin>>s;
char c;
vector<int>f(100);
for (int i=0;i<s.length();i++){
c = s[i];
f[c]++;
}
for (char ch='A';ch<='H';ch++){
cout<<f[ch]<<" ";
}
}