See More

//#include //#include //#include //using namespace std; //#pragma warning(disable:4996) //class cmp //{ //public: // bool operator()(const int &a,const int &b) // { // //return a > b; // //true aÔÚºóÃæ // //false aÔÚÇ°Ãæ // } //}; //priority_queue, cmp> pque; //int main() //{ // pque.push(5); // pque.push(2); // pque.push(8); // printf("%d\n", pque.top()); // pque.pop(); // return 0; //}