i have to write a program in c++ that reads numbers(weight of an item) from a file until now i got it:)
and then place this items in boxes.the goal is to use as less boxes as possible.Each box can weight no more than 10.
place each new item in the most-filled box.
use a priority queue to determine the box that an items goes in.
pls someone help me
thanks!!!!