Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: Sol2468
Problemset: เรียงสตริง
Language: cpp
Time: 0.002 second
Submitted On: 2026-10-14 15:04:11
#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 ;
}