#include<bits/stdc++.h> using namespace std; struct Student{ string name; int score; int flag; }arr[100001]; bool cmp1(Student x,Student y){ if(x.score != y.score) return x.score > y.score; else return x.flag < y.flag; } bool cmp2(Student x,Student y){ if(x.score != y.score) return x.sco...