优先队列(priority_queue)四种自定义排序方法

#include<iostream> #include<vector> #include<queue> using namespace std; struct cmp{ bool operator () ( int r , int l ){ return r > l; } }; struct cmp1{ bool operator
相关文章
相关标签/搜索