摘要:
codeforces160A,题目链接:http://codeforces.com/problemset/problem/160/AA题一般都是水题啦,第一次还是选个最简单的吧。你和另一个人分硬币,题目的规则:you take theminimum number of coins, whose sum of values is strictly more than the sum of values of the remaining coins;这个题目算法思想就是贪心,我感觉一般贪心里面,排序是要经常用的,简单排下序,然后计算硬币数就ok了贴代码://by hust_archer#inclu 阅读全文