摘要: //只需将起始点设为水平基准点LEV,即可DP算出答案#include<iostream>#include<algorithm>#include<cstring>#include<cstdio>using namespace std;#define MAX 1002struct Info{ int coor,w;}info[MAX];int cmp(struct Info a,struct Info b){ return a.coor<b.coor;}int dp[MAX][MAX][2];int min(int a,int b){ ret 阅读全文
posted @ 2012-05-25 16:21 SprintWater 阅读(129) 评论(0) 推荐(0)