P3045 [USACO12FEB] Cow Coupons G
题目背景
Subtask 0 为原数据,Subtask 1,2 为 hack 数据。
题目描述
Farmer John needs new cows! There are N cows for sale (1
输入格式
无
输出格式
无
说明/提示
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 of 3 + 2 + 1 = 6.