#include #include using namespace std; struct node{ int id,val; }a[100]; bool cmp(node a,node b) {return a.val