Is there a DP solution for my subset average problem?

前端 未结 0 453
無奈伤痛
無奈伤痛 2021-02-09 22:26

I have a combinatorics problem that I can\'t solve.

Given a set of numbers and a target number, return a weight for each number, so that the average of the set is closest

相关标签:
回答
  • 消灭零回复
提交回复
热议问题