include [HTML_REMOVED]
include [HTML_REMOVED]
include [HTML_REMOVED]
include [HTML_REMOVED]
include [HTML_REMOVED]
using namespace std;
int main(){
//默认是大根堆
priority_queue[HTML_REMOVED] a;
for(int i = 3; i < 10; i ) a.push(i);
cout<[HTML_REMOVED] heap1;
for(int i = 1; i < 10; i ) heap1.push( -i);
cout<<-heap1.top()<<endl;
priority_queue[HTML_REMOVED], greater[HTML_REMOVED]> heap2;
for(int i = 2; i < 10; i ++) heap2.push(i);
cout<<heap2.top();
return 0;
}