Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: HawThorns

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

Language: cpp

Time: 0.005 second

Submitted On: 2026-10-13 14:53:11

#include <iostream>
#include <algorithm>
#include <set>
using namespace std;

int main(){
       string input;
       cin >> input;
       set<char> toout;
       for(const char &a :input){
              toout.insert(a);
       }
       for(const char &a :toout){
              cout << a << " ";
       }
       return 0;
}