摘要: 链接:http://acm.hdu.edu.cn/showproblem.php?pid=4310按比值排序:dps/hp...为了避免小数出现cmp函数写成相乘的形式#include #includeusing namespace std;class hero{public: int hp;... 阅读全文