随笔分类 -  # 贪心

摘要:输入: 4 1 7 3 2 2 2 8 1 4 3 输出: 3 提示: FJ has 4 cows, 1 coupon, and a budget of 7.FJ uses the coupon on cow 3 and buys cows 1, 2, and 3, for a total cost 阅读全文
posted @ 2021-08-11 23:14 PushyTao 阅读(6) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示