#include#include #include using namespace std; struct Student { char ID[10]; char name[10]; int gread; }STU[100010]; bool cmp1(Student a,Student b) { return strcmp(a.ID,b.ID)<0; } bool cmp2(Student a,Student b) { if(strcmp(a.name,b.name)!=0) return strcmp(a.name,b.name)<0; else return strcmp(a.ID,b.ID)<0; } bool cmp3(Student a,Student b) { if(a.gread!=b.gread) return a.gread