#include #include using namespace std; #define NMAX 10000 typedef struct s{ int a,saisyo; } S; bool operator<(S a,S b){ return a.saisyo>N; for(int i=0;i>a[i].a; for(int i=0;i