第一题:硬件资源最佳分配 模拟+排序 /** -*- encoding: utf-8 -*- Version :1.0 */ #include <iostream> #include <vector> #include <string> #include <algorithm> #include <map> using namespace std; bool cmp1(const vector<int> &a, const vector<int> &b) { r...