1
0
2
37
336
300
60
#include #include int sum,res,i,n; struct node { int hp,dsp; void input() { scanf(%d%d,&dsp,&hp); sum += dsp; } }hero[22]; ///按单位血量的攻击力排序 bool cmp(node a,node b) { ...