8432022-01-20 12:56:37Halasz EszterSzámjegy keveréscpp11Wrong answer 2/402ms2028 KiB
#include <iostream>
//#include <fstream>
#include <vector>
#include <algorithm>

using namespace std;

//ifstream cin("szamjegykeveres.in");
//ofstream cout("szamjegykeveres.out");

vector<int>x;

int n,i;

int main()
{
    cin>>n;
    while(n>0)
    {
        x.push_back(n%10);
        n=n/10;
    }
    sort(x.begin(),x.end());
    for(auto e:x) cout<<e;
    return 0;
}
SubtaskSumTestVerdictTimeMemory
base2/40
1Accepted0/02ms1808 KiB
2Accepted0/01ms1884 KiB
3Wrong answer0/01ms1896 KiB
4Accepted2/21ms1904 KiB
5Wrong answer0/21ms1908 KiB
6Wrong answer0/21ms1904 KiB
7Wrong answer0/21ms1912 KiB
8Wrong answer0/21ms1812 KiB
9Wrong answer0/21ms1920 KiB
10Wrong answer0/21ms1928 KiB
11Wrong answer0/41ms1932 KiB
12Wrong answer0/41ms1936 KiB
13Wrong answer0/22ms1936 KiB
14Wrong answer0/22ms1964 KiB
15Wrong answer0/21ms1968 KiB
16Wrong answer0/21ms1976 KiB
17Wrong answer0/21ms1988 KiB
18Wrong answer0/22ms2008 KiB
19Wrong answer0/32ms2020 KiB
20Wrong answer0/32ms2028 KiB