Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: nik121416

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-07 23:31:15

#include <iostream>
#include <set>
using namespace std;

int main(){
    string s;
    set<char> str;
    cin >> s;
    for(int i = 0 ;i<s.length();i++){
        str.insert(s[i]);
    }
    for(char item:str){
        cout << item<<" ";
    }
}