摘要: 完全背包 #include <iostream> #include <vector> using namespace std; int main(){ int n; int v; cin >> n >> v; vector<int> W(n + 1, 0), V(n + 1, 0); for (in 阅读全文
posted @ 2025-08-06 10:47 skyler886 阅读(4) 评论(0) 推荐(0)