Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: lumppengae
Problemset: เรียงสตริง
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-01 14:40:23
/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <iostream>
#include <set>
using namespace std;
int main()
{
string a;
cin>>a;
set<char> s;
for(int i=0;i<a.size();i++){
s.insert(a[i]);
}
for (int x : s) cout << (char)x << " ";
}