#include <algorithm> #include <bits/stdc++.h> #include <vector> using namespace std; struct stP { string id; int score; stP(string id, int score): id(id), score(score) {} bool operator<(stP b){ if(score==b.score)return id<b.id; else return sco...