#include<iostream>
#include<vector>
using namespace std;
int main(){
    vector<int>n[9];
    vector<int>solved[9];
    int c=0;
    for(int i=0;i<n;i++){
        cin>>n[i];
        if(n[i]>c){
            c=n[i];
        }
    }
    int a=0;//확실히 정렬된 숫자들의 수
    for(int i=0;i<n;i++){
        if(n[i]>n[i+1]){
            int b=n[i];
            n[i]=b;
            n[i+1]=b;
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: