摘要: 题目链接:https://codeforces.com/contest/1234 A: 题意:找出一个数,使得以这个数为价格卖出所有商品的钱大于等于以之前的各个商品初始价格卖出的钱。 idea:取平均值,向上取整 1 #include <iostream> 2 #include <cstdio> 3 阅读全文
posted @ 2019-10-04 22:37 chuyds 阅读(109) 评论(0) 推荐(0) 编辑