背包问题学习笔记(二)
摘要:0-1背包问题解决代码,腾讯的试题中,只需将物品的价值与物品的重量取一样的值即可。PackProblemClass.h:// PackProblemClass.h: interface for the PackProblemClass class.//////////////////////////...
阅读全文
posted @ 2014-10-28 15:49
posted @ 2014-10-28 15:49
posted @ 2014-10-28 15:38
posted @ 2014-10-27 16:02
posted @ 2014-10-25 10:36
posted @ 2014-10-22 16:03
posted @ 2014-10-20 11:24