1、四十米大刀 #include <iostream> #include <vector> #include <map> #include <algorithm> using namespace std; bool compare(pair<int, int>& p1, pair<int, int>& p2) { if(p1.first == p2.first) { return p1.second < p2.second; } return p1...