Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: IIIIIIIIIIII

Problemset: อะนาแกรม 1

Language: cpp

Time: 0.005 second

Submitted On: 2026-10-09 21:35:00

#include <iostream>
using namespace std;
int arr[10];
int main(){
    string s;
    cin >> s;
    for(char c:s) arr[(int)c%65]+=1;
    for(int i=0;i<8;i++){
        cout << arr[i] << " ";
    }
}