摘要: 贪心,注意排序条件。#include #include #include using namespace std;const int N=25;struct En{ int DSP,HP;}E[N];bool cmp(En a,En b){ if(a.DSP*1.0/a.HP>b.DSP*1.0/b... 阅读全文
posted @ 2014-10-27 18:37 chenjunjie1994 阅读(143) 评论(0) 推荐(0) 编辑