Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: SXLENG.S
Problemset: อะนาแกรม 1
Language: cpp
Time: 0.004 second
Submitted On: 2025-12-13 16:25:08
#include <iostream>
#include <string>
using namespace std;
int main(){
string s;
cin >> s;
int box[123] = {0};
for (int i = 0; i < s.length(); i++){
box[s[i]]++;
}
for (char c = 'A'; c <= 'H'; c++){
cout << box[c];
if (c != 'H') cout << " ";
}
return 0;
}