摘要: // test5.2.cpp : 定义控制台应用程序的入口点。//// 2010.5.9//sylar//#include "stdafx.h"#include <iostream> using namespace std; //动态规划:0-1背包问题 //bestValue[i][j]=max ( bestValue[i+1][j-w[i]]+v[i] ,bestValue[i+1... 阅读全文
posted @ 2010-05-09 11:52 熊健 阅读(749) 评论(0) 推荐(1)