2012年3月26日

sicily 1750. 运动会

摘要: #include<iostream> //分组背包问题#include <stdio.h>#include<cstring>using namespace std;struct node{ int val,cost;}table[102][102];int D[102],E[102],M[102],len[102];int dp[1002];int main(){ int cases; cin>>cases; while(cases--) { int P,N; cin>>P>>N; for(int i=0;i... 阅读全文

posted @ 2012-03-26 20:14 sysu_mjc 阅读(225) 评论(0) 推荐(0) 编辑

导航