Submission

Status:

[-SSSSSSSSS]

Subtask/Task Score:

{0/100}

Score: 0

User: Kaithrong

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

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-06 22:43:20

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



int main(){

    ios_base::sync_with_stdio(false);
    cin.tie(NULL);cout.tie(NULL);
    string text;

    cin>>text;
    sort(text.begin(), text.end());
    int n=text.length();
    for(int i=0;i<n;i++){
        cout<<text[i]<<" ";
    }

    return 0;
}