题目: 分析:就是找最少的组数,但不知道从何下手。 我特么就是菜鸡,这不就是导弹问题吗? 我所期望的: 代码: #include<bits/stdc++.h> using namespace std; struct MG{ int l, w; } m[5050]; int D2[5050];