【多重背包 二进制优化版】洛谷 P1776 宝物筛选
摘要:
题目 https://www.luogu.com.cn/problem/P1776 题解 对于朴素版多重背包(参考:https://www.cnblogs.com/RomanLin/p/22864579),时间复杂度为:\(O(nm \sum_{i=1}^{n}{w_i})\)。对于当前题目的数据范 阅读全文
posted @ 2026-09-08 21:34 RomanLin 阅读(19) 评论(0) 推荐(0)
浙公网安备 33010602011771号