Computer Science, asked by amitkumar1441810, 7 months ago

There are N bags. Each bag contains different number of goods. Goods can be of different weights. The goal is to equalize the weights in the bags subject to constraints explained below. Also, it is guaranteed that the bags can always be equalized with same total weight.The output specification is as follows The contents of the Bag that contains the lightest weight should be printed in the first line The next lightest Bag contents should be printed on the second line So on and so forth, until all Bags along with their contents are printed Contents within the Bag must be printed in non-decreasing order

Answers

Answered by ashutosh5786007
1

Answer:

good morning

Explanation:

hi

Similar questions