Submission

Status:
[PPPPPPPPPP]

Score: 100

User: Nathlol2

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

Language: cpp

Time: 0.003 second

Submitted On: 2025-01-21 11:34:41

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

int32_t main() {
	ios::sync_with_stdio(false);
	cin.tie(NULL);
    
    string s;
    cin >> s;
    set<char> ans;
    for(auto i : s){
        ans.insert(i);
    }
    for(auto i : ans){
        cout << i << ' ';
    }
}