存錢罐

題目: 代碼如下: #include<bits/stdc++.h> using namespace std; #define NIL 0x3f3f3f3f int p[505],w[505],dp[10005];//dp[i]:重量爲i時最小价值 int main() { int n,e,f,v; cin >> e >> f; cin >> n; memset(dp,NIL,sizeof
相關文章
相關標籤/搜索