#include #include using namespace std; struct Node { int dps; int hp; }a[30]; int cmp(Node x,Node y) { return x.hp*y.dps