You are on page 1of 1

#include<bits/stdc++.

h>
using namespace std;
vector<int>v1;
vector<int>v2,v3;
int main(){
int n; cin >> n;
for (int i = 0 ; i < n ; i++){
int x; cin >> x;
v1.push_back(x);
}
sort(v1.begin,v1.end);
for (int i = 0 ; i < n; i++){
v2.push_back(v1[i]);
}
}

You might also like