#include <iostream> #include<vector> using namespace std; int money[32000], v[60], p[60], q[60], value[60][4], p1[60][4], q1[60]; int main() { int N = 0, m = 0; cin >> N >> m; for (int i = 1; i <= m; i++) {//先记录主件的价格和满意度 cin >> v[i] >> p[i]...