|
|
вернуться в форумОбщий форумPLEASE HELP WITH 1115 PLEASE HELP!!!! Anyone who have solved this rpoblem help me, say some idea or tell some klever book, which I must read. PLEASE HELP!!!! Complete Search. It take a litlle time. > PLEASE HELP!!!! > Anyone who have solved this rpoblem help me, say some idea > or tell some klever book, which I must read. PLEASE HELP!!!! Re: Complete Search. It take a litlle time.--> Just use greedy algorithm, it's the fastest way. > > PLEASE HELP!!!! > > Anyone who have solved this rpoblem help me, say some > idea > > or tell some klever book, which I must read. PLEASE > HELP!!!! I think that the greedy algorythm wrong In my opinion this is a multi-knapsack problem. It is well known, than greedy algorythm fail for knapsack problem. Re: I think that the greedy algorythm wrong I have acceptted this prob by greedy algorithm. I agree with you that greedy algorithm is not good in some cases but if you have a well greedy algorithm it can passes all the test cases here. mailto : trungduck@yahoo.com > In my opinion this is a multi-knapsack problem. > It is well known, than greedy algorythm fail for knapsack > problem. > > |
|
|