Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: rice_ot

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-14 10:40:05

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

int main(){

    string x; cin>>x;
    map<char, int> word;
    for(auto i : x){
        word[i]++;
    }
    for(auto& i : word){
        if(i.second!=0) cout<<i.first<<" ";
    }
}