#include <iostream> using namespace std; #include <list> #include <string> // 降序 bool sortD(pair<string, int> s1, pair<string, int> s2) { return s1.second > s2.second; } // 升序 bool sortU(pair<string, int> s1, pair<string, int> s2) { return s1.se...