Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: KisuX3

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

Language: cpp

Time: 0.005 second

Submitted On: 2026-09-25 23:59:04

#include <iostream>
#include <set>

using namespace std;

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

    string str;

    cin >> str;

    set<char> lists;

    for (auto x : str) 
    {
        lists.insert(x);
    }

    for (auto x : lists) {
        cout << x << " ";
    }
    return 0;
}