原创 STL 優先隊列的優先級

struct cmp1 { bool operator ()(int &a,int &b) { return a>b;//最小值優先 } }; struct cmp2 {