Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: faofao

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

Language: cpp

Time: 0.005 second

Submitted On: 2026-08-17 19:57:44

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

int main(){
    ios::sync_with_stdio(0),cin.tie(0);
    string s ;cin>>s;
    set<int> stA ;
    for(char c:s){
        stA.insert(c);
    }
    for(char c:stA) cout << c << " " ;
}