HDU_2159 二维费用背包问题 http://acm.hdu.edu.cn/showproblem.php?pid=2159 #include<cstdio> #include<cstring> #include<algorithm> using namespace std; #define INF 1e8 int dp[110][110]; int w[110]; int v[110]; int main() { int n,m,k,s; while(~scanf…
Watch The Movie Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 7811 Accepted Submission(s): 2496 Problem Description New semester is coming, and DuoDuo has to go to school tomorrow. She dec…
FATE Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7363 Accepted Submission(s): 3398 Problem Description 最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务.久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级.现在的问…