Submission

Status:

[PPPPPPPPPP]

Subtask/Task Score:

{100/100}

Score: 100

User: Krovmoroz

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-11-06 09:31:30

#include <bits/stdc++.h>
using namespace std;

int main() {
  ios::sync_with_stdio(false); cin.tie(nullptr);
  string a;
  set<char> s;
  cin >> a;
  for (char c:a) s.insert(c);
  for (char c:s) cout << c << " ";
}