摘要: #include<bits/stdc++.h> using namespace std; struct node{ int pos; double t; bool operator()(node a,node b){ return a.t >= b.t; //最小值优先 } }; int main(){ priority_queue< node,vector<node>,node> pq; int 阅读全文
posted @ 2019-08-20 08:35 bear_ge 阅读(407) 评论(0) 推荐(0) 编辑