65,179
社区成员




#include <iostream>
#include <queue>
using namespace std;
int main()
{
priority_queue<int, vector<int>, greater<int> >q1;
q1.push(5);
q1.push(3);
q1.push(1);
while (!q1.empty()) {
cout<<q1.top();
q1.pop();
}
return 0;
}
greater报错