Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Trin1506

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-10-08 21:11:07

#include <bits/stdc++.h>
using namespace std;
int main(){
    set<char> unique;
    string word;
    cin >> word;
    for(int i=0;i<word.size();i++){
        unique.insert(word[i]);
    }
    for(auto s:unique)cout << s <<" ";
}