Submission

Status:

Compilation Error

Subtask/Task Score:

Score: 0

User: scxtti3h

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

Language: cpp

Time: 0.000 second

Submitted On: 2025-12-10 19:22:05

/*
    AUTHOR : Scxtti3h
    Task   : c1_bkk67_1
    Date   : 10/12/2568
*/

#include <bits/stdc++.h>
using namespace std;

int main(){
    string s;
    int a;
    cin.tie(nullptr)->sync_with_stdio(false);
    cin >> s;
    sort(s.begin(), s.end());
    s.erase(unique(s.begin(), s.end()), s.end());
    a=s.length()
    for (int i=0;i<a;i++) {
        cout << s[i];
        if (i!=a-1){
           cout << " ";
        }
    }
    cout << "\n";

    return 0;

}