#include <iostream> #include <string> #include <vector> #include <algorithm> //#include <unordered_map> using namespace std; bool cmp0(const pair<string,int> &a,const pair<string,int> &b) { return a.second>b.second; } bool cmp1(const pair<...