HBC213980Music Problem,背包问题,动态规划Apple题解

冷默言语 算法基础篇 33 0
挑战自我,勇攀编程高峰!全网最全C++题库,助您成为编程达人。
There are a box of apples,which contains N apples. You're going to give them to M person. It is required that everyone must be given a positive integer apple, and no one must have the same amount. If it can be done, output "possible"; otherwise output "impossible".

There are a box of apples,which contains N apples. You're going to give them to M person. It is required that everyone must be given a positive integer apple, and no one must have the same amount. If it can be done, output "possible"; otherwise output "impossible".

HBC213980Music Problem,背包问题,动态规划Apple题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)

标签: HBC213980Music Problem 背包问题 动态规划Apple题解