Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: mameeewin

Problemset: อะนาแกรม 1

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-13 17:40:37

#include <iostream>
#include <vector>
using namespace std;

int main(){
  string s; cin >> s;
  vector<long long> a(8);
  for (char i: s) a[i-'A']++;
  for (long long i: a) cout << i << " ";
}