Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: ultraman9845

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

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-11 22:31:20

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

int main() {
    ios_base::sync_with_stdio(0);
    cin.tie(0);

    string s;
    cin >> s;
    set<char> st;
    for (auto e : s) {
        st.insert(e);
    }
    for (auto e : st) {
        cout << e << " ";
    }
    cout << "\n";
    return 0;
}