Submission

Status:

[-SSSSSSS]

Subtask/Task Score:

{0/100}

Score: 0

User: Sol2468

Problemset: สตริงซ้ำซ้ำ

Language: cpp

Time: 0.002 second

Submitted On: 2026-10-15 13:15:14

#include <bits/stdc++.h>
using namespace std; 

map<char,int> arr ;
string a ;

int main(){
    ios_base::sync_with_stdio(false) ;
    cin.tie(NULL) ;
    cin >> a ;
    for(int i=0 ; i<a.size() ; i++){
        arr[a[i]]++ ;
    }
    for(auto &[key,value] : arr){
        cout << key << " " ;
    }
    return 0 ;
}