Submission
Status:
[PPPPPPPPPP]
Score: 100
User: Namkhing
Problemset: เรียงสตริง
Language: cpp
Time: 0.002 second
Submitted On: 2025-04-10 23:26:07
#include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(nullptr)->ios_base::sync_with_stdio(false);
string s;
cin >> s;
sort(s.begin(), s.end());
s.resize(unique(s.begin(), s.end()) - s.begin());
for (char c : s) cout << c << " ";
}