#include<iostream> #include<algorithm> using namespace std; int main() { int n; cin>>n; cout<<endl; int* a; a=new int [n]; for(int i=0; i<n;> {cin>>a[i]; } sort(a,a+n); for(int i=0; i<n;> { cout<<a[i]<<endl; } return 0; }</algorithm></iostream>
for
for(int i=0; i < n; ++i)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)