#include using namespace std; const int maxN = (int)1e5+1; int A[maxN], n; // // // To return: // // Is a always ordered before b in the intended sorted order? // bool custom_cmp( int &a, int &b ) { return a > b; } // int main() { int i,j,k; cin >> n; for(i=0; i> A[i]; sort(A,A+n, custom_cmp); // sort(A+2,A+4, custom_cmp); for(i=0;i