poj 3257
摘要:
dp代码:#include<iostream>#include<fstream>using namespace std;int l,n,b;struct e{ int w,x,f,c;};e a[10001];int dp[1001][1001];int cmp(const void *a,const void *b){ e *s=(e *)a; e *t=(e *)b; return s->x-t->x;}void read(){// ifstream cin("in.txt"); int i,j,k; cin>>l> 阅读全文
posted @ 2011-05-06 21:49 宇宙吾心 阅读(227) 评论(0) 推荐(0)
浙公网安备 33010602011771号