#include <iostream> #include<vector> #include<queue> #include<map> #include<unordered_map> #include<unordered_set> #include<algorithm> #include<string> using namespace std; struct Node { int num; int times; int min; }; void MapSort(vector<Node...