Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: shurye
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-11 21:12:20
#include <iostream>
#include <vector>
using namespace std ;
vector <int> aToh (8,0);
int main(){
string text ;
cin >> text;
for(auto i : text){
aToh[int(i)-65] ++ ;
}
for(auto i : aToh){
cout << i << " " ;
}
}