#include #include struct person { char name[64]; int t, f, n, total; friend bool operator < (person p1, person p2) { if(p1.total!=p2.total) return p1.total=1;i--) printf("%s\n", a[i].name); return 0; }