2018年1月9日

Codeforces Hello 2018 C - Party Lemonade

摘要: 有n类物品,第i(i=0,1,2,...,n-1)类物品的价值为2^i,花费为c[i]。任意选择物品,使得总价值至少为L。求此时的总花费的最小值。(n≤30,L≤1E9,ci≤1E9) 阅读全文

posted @ 2018-01-09 14:46 SiuGinHung 阅读(389) 评论(0) 推荐(0) 编辑

导航