• 2024-07-10通天之分组背包
    https://www.luogu.com.cn/problem/P17571#include<stdio.h>2#include<iostream>3#include<algorithm>4usingnamespacestd;56inth1[1001];7inth2[101];//每组物品数量8inth3[101][1001];//每组中每个物品的重量9inth4[101][1001];//每组