hehe I do not give you the answer
#include<bits/stdc++.h> using namespace std; int main(){ vector<long long> a(10); for(int i=0;i<10;i++){ cin>>a[i]; } sort(a.begin(),a.end()); reverse(a.begin(),a.end()); for(int i=0;i<10;i++){ cout<<a[i]<<" "; } return 0; }