#include<vector> #include<string> #include<iostream> #include<tuple> #include<algorithm> using namespace std; bool compare1(tuple<string,int> x, tuple<string, int> y) { return get<1>(x) > get<1>(y); } bool compare2(tuple<string, in...