P2722

P2722 [USACO3.1] 总分 Score Inflation

还是选与不选的问题,但是每个背包可以无限次选,所以这是个完全背包! #include<bits/stdc++.h> using namespace std; const int N=2e4+10; int f[N],w[N],t[N]; int main(){ int n,m; cin>>n>>m; ......
总分 Inflation USACO3 P2722 USACO
共1篇  :1/1页 首页上一页1下一页尾页