Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
Title: tanlanbeibao Download
 Description: Into the knapsack problem: Given a super-increasing sequence and a capacity backpack, and then in the super-increasing sequence selected (only choose one) or do not choose each value, and make the selected value is exactly equal to the capacity of the backpack. Code ideas: from the largest element traverses super increasing sequence for each element, if there is greater than or equal backpack space value of the current element, then placed, and then continue to determine the next element backpack space if the value is less than the current element , it is judged that an element
 Downloaders recently: [More information of uploader 王杭]
 To Search:
File list (Check if you may need any files):
 

新建文件夹\贪婪法背包2.cpp
..........\贪婪法背包2.dsp
..........\贪婪法背包2.dsw
..........\贪婪法背包2.ncb
..........\贪婪法背包2.opt
..........\贪婪法背包2.plg
新建文件夹
    

CodeBus www.codebus.net