Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: eeeeeeeeee
Problemset: เรียงสตริง
Language: cpp
Time: 0.002 second
Submitted On: 2026-09-24 14:59:49
#include<iostream>
#include<vector>
using namespace std;
int main(){
vector<int> box(256,0);
string b;
cin>>b;
for(int i = 0;i<b.length();i++){
box[b[i]] += 1;
}
for(int i = 0;i<256;i++){
if(box[i]>0){
cout<<char(i)<<" ";
}
}
}