版本比较
+1 −1增加 1 行删除 1 行
40 行未改动4142434445454647484940 行未改动40 行未改动struct as{int a,s;}aw;struct aq{ int b,s; bool operator <(const aq &a)const//重载运算符 { { return a.s < s; }};std::priority_queue<aq>q;//堆优化40 行未改动