摘要: 复健 SOSdp(sum over subsets dynamic programming)。 引入 令 \(F(x)=\sum\limits_{u\subseteq x} A(u)\) 其中 \(A\) 为给定数组,求出 \(\forall x, F(x)\) 。 思路一 暴力枚举子集,时间复杂度 阅读全文
posted @ 2024-04-24 08:25 g1ove 阅读(6) 评论(0) 推荐(0) 编辑