摘要:
#include <iostream> #include <algorithm> #include <stack> #define MAX 1000 using namespace std; struct mice { int index; int weight; int speed; }; mice mices[MAX+1]; int f[MAX+1]; int flag[MAX+1]; bool cmp(const mice mice1,const mice mice2) { if(mice1.weight!=mice2.weight) { ... 阅读全文