#54891: 提示: Greedy


raymondcoder926@gmail.com (Raymond Su)


RT,切記不要超重、蛋的數量也不要超過上限

可以先sort再從小到大開始加,直到重量上限以及蛋數量上限