#include <algorithm> #include <iostream> #include <vector> #include <cmath> using namespace std; void getGoods(int count, vector< vector<int>>& goods) { for (int i = 1; i < count; i++) { // 接收数据 // goods[i][0] 为 价格 goods[i][1] 为 重要度 goods[i][2] 为 主件编号 cin &...