记忆化搜索 #include<bits/stdc++.h> using namespace std; typedef long long ll; int n,W; int dp[105][10005]; int w[105],v[105]; int rec(int i,int j){ if(dp[i][j] >= 0){ return dp[i][j]; } int res; if(i == n){ res = 0; }else if(j < w[i]){ res = rec(i…
Bone Collector Time Limit : 2000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 21 Accepted Submission(s) : 6 Problem Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collec…
A OpenJ_Bailian 1088 滑雪 B OpenJ_Bailian 1579 Function Run Fun C HDU 1078 FatMouse and Cheese D POJ 3280 Cheapest Palindrome E OpenJ_Bailian 1976 A Mini Locomotive F OpenJ_Bailian 2111 Millenium Leapcow G OpenJ_Bailian 1141 B…