Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Gundhon

Problemset: เรียงสตริง

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-07 15:23:44

#include <iostream>
#include <algorithm>
#include  <string>

using namespace std;

int main(){
    string s;
    cin >> s;
    sort(s.begin(),s.end());
    s.erase(unique(s.begin(),s.end()),s.end());

    for(char x: s) cout << x << " ";


    return 0;
}