Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: Mocha_nb
Problemset: เรียงสตริง
Language: cpp
Time: 0.003 second
Submitted On: 2025-09-25 15:48:19
#include <bits/stdc++.h>
using namespace std;
int main(){
int cnt[200] = {0};
string ch;
cin >> ch;
for(char c:ch){
cnt[c]++;
}
for(int i = 0;i<200;i++){
if(cnt[i] == 0){
continue;
}else{cout << char(i) << ' ';}
}
}