02 2012 档案

 
HDU 2602 Bone Collector
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2602吾近来又开始翻阅背包九讲,确是神作,又有所感,故水01背包一道祭天。View Code #include <stdio.h>#include <string.h>int main(){ int T,N,V; int i,j; int f[1100],c[1100],w[1100]; scanf("%d",&T); while(T--) { scanf("%d%d",&N,&V); memset(f,0,sizeof( 阅读全文
posted @ 2012-02-28 13:16 LegendaryAC 阅读(163) 评论(0) 推荐(0)