优先对列 对结构体进行排序,

#include<iostream> #include<cstdio> #include<queue> #include<algorithm> #include<vector> using namespace std; struct node {     int d,w;      }; bool operator < (const node & x,const node & y) {     i
相关文章
相关标签/搜索