first time posting, with a probably very simple question for you. This is something that I need for work:
I have a container to fill with exactly 250 objects, and a maximum weight capacity of 2339g I have two kinds of objects to fill the container with:
- The primary objects that I want to use, with a weight of 18g each
- The filler objects, with a weight of 5g each.
What I want to do is fill the container with as many primary objects as possible, and then fill the rest of the remaining 250 spaces with filler objects. I cannot exceed the maximum weight capacity of 2339g.
I could have solved this in 5 minutes whe I was at highscool, but those days are long gone... Please advise if the format of the question is not appropriate.
Many thanks!