Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: CA
Problemset: เรียงสตริง
Language: cpp
Time: 0.002 second
Submitted On: 2026-09-25 12:32:34
#include <bits/stdc++.h>
using namespace std;
string s;
set<char> st;
int main() {
cin >> s;
sort(s.begin(), s.end());
for (char c : s) {
st.insert(c);
}
for (char c : st) {
cout << c << " ";
}
cout << '\n';
return 0;
}