#include <iostream> #include <map> #include <vector> #include <algorithm> using namespace std; bool cmp (pair<char, int> a, pair<char, int> b) { return a.second < b.second; } int main() { // int a, b; // while (cin >> a >> b) { // 注意 while 处理多个 case...