Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: s0m30n3
Problemset: เรียงสตริง
Language: cpp
Time: 0.002 second
Submitted On: 2025-09-18 21:22:43
#include <iostream>
#include <set>
using namespace std;
int main(){
string s;
cin >> s;
set<int> sorted = {};
for (char x : s){
sorted.insert(static_cast<int>(x));
}
for (int l : sorted){
cout << static_cast<char>(l) << " ";
}
}