Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: NovemNotes

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-09-28 15:25:03

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

int main(){
    ios_base::sync_with_stdio(false);cin.tie(NULL);
    string s;
    set<char> c;
    getline(cin,s);
    for(auto &x:s){
        c.insert(x);
    }
    for(auto &x:c)cout << x << " ";
    return 0;
}