Submission

Status:
[PPPPPPPPPP]

Score: 100

User: meme_boi2

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

Language: cpp

Time: 0.002 second

Submitted On: 2024-11-07 08:43:36

#include <bits/stdc++.h>
using namespace std;
int main(){
	string txt;
	set <char> set;
	cin >> txt;
	for(int i = 0; i < txt.length(); i++){
		set.insert(txt[i]);
	}
	for(char c: set){
		cout << c << ' ';
	}
}