#include <iostream> #include<string> #include<algorithm> using namespace std; struct student{ string name; int score; int rank; }stu[1000]; bool cmp1(student st1, student st2){ if(st1.score == st2.score ){ return st1.rank < st2.rank; }else{ ...