#include<bits/stdc++.h> using namespace std; struct student{ string name; int c1,c2,c3,t; student(string A,int B,int C,int D){ name =A,c1=B,c2=C,c3=D,t=B+C+D; } student()=default; bool operator>(const student &x) const{ return t>x.t; } }a[2000]; string A; int B,C,D; int main(){ int n...