#include <iostream> #include<bits/stdc++.h> #include <vector> using namespace std; int main() { int n,V; cin>>n>>V; vector<int >v(n+1,0); vector<int>w(n+1,0); vector<int>dp1(V+1,0); vector<int>dp2(V+1,-11111111);//恰好装满问题...