dynamic programming --knapsack problem 背包问题(c++实现)
/* * KnapsackProblem.cpp * * Created on: Jul 11, 2010 * Author: kevin */#include #include #include "Array.h"#include using namespace std;//void init_table(vector >& t, int n);//void init_table(vector& >& t, int nRow, int nCol)