Constraints Number of Food Items <= 10 Maximum amount of Nutrients is less than 1500 i.e. x +y + z <= 1500 Amount of P, C, F in two food items will not be same P, C, F values in input can be in any order Output should be in order - P, C, F. Input First line contains the maximum limit of nutrients in the following format. xP yC zF, where x, y and z are integers Second line contains nutrient composition of different food items separated by pipe (|). Output Print the shortfall for each nutrient type, fulfilled separated by space. E.g. If the output is 10P, 20 C, 30 F, then print "10 20 30" (without quotes). Time Limit 1
Answers
Answered by
1
Answer:
If S is bounded then P has both a maximum and minimum value on S ... The maximum (if it exists) is the largest value of P at a vertex. ... x = no. of cubic yards of plant food mix A y = no. of ...
Answered by
0
Answer:
ask your teacher
Explanation:
difficult
Similar questions