Computer Science Canada CD Rom Limits |
Author: | MysticVegeta [ Mon May 09, 2005 5:14 pm ] | ||
Post subject: | CD Rom Limits | ||
Hi, This question deals with which is the most efficient way to burn stuff on CD's. Its a Dwite Contest Question and i have part of the solution. Now it goes something like this, The first Integer in every line of 5 inputs states the CD ROM Capacity limit "c", and the second integer consists of how many things i want to burn on it "n" . The next integers are the number of "n" things and their capacity so it looks something like this -> 700 4 500 300 300 100 700 5 200 750 75 240 420 650 3 400 100 400 700 3 100 200 300 600 5 100 50 90 200 300 Here is the solution i have so far,
I have matched up -> 500 + 300 + 300 + 100 300 + 300 + 100 300 + 100 100 But i have no clue how match the rest of combos -> 300 + 300 + 500 100 + 500 ........ ........ Can anyone help? thanks |
Author: | MysticVegeta [ Wed May 11, 2005 5:52 pm ] |
Post subject: | |
Any ideas?? I am sure a lot of people here have aced dwite contests. Please help ![]() |