Submission

Status:

----------

Subtask/Task Score:

0/100

Score: 0

User: lumppengae

Problemset: อะนาแกรม 1

Language: cpp

Time: 0.004 second

Submitted On: 2026-09-30 13:44:58

/******************************************************************************

Welcome to GDB Online.
  GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, 
  C#, OCaml, VB, Perl, Swift, Prolog, Javascript, Pascal, COBOL, HTML, CSS, JS
  Code, Compile, Run and Debug online from anywhere in world.

*******************************************************************************/
#include <iostream>
using namespace std;
int main()
{
    string a;
    cin >>a;
    int b,f=int('A'),d=int('H');
    int c[500]={0};
    for (int i=0;i<a.length();i++){
        b=a[i];
        c[b]++;
    }
    for (int i=f;i<d;i++){
            cout<<c[i]<<" ";
    }
}