HDU-2639-Bone Collector II

這個題是HDU-2602-Bone Collector升級版,改成求第k大的值ios 思路:spa 將揹包的維數增長一維,存的時候注意去重~code 代碼:string #include<cstdio> #include<cstring> #include<iostream> using namespace std; const int maxn=1001; int n,m,k,dp[maxn][
相關文章
相關標籤/搜索