优先队列求助
  • 板块灌水区
  • 楼主jiapuludeng
  • 当前回复1
  • 已保存回复1
  • 发布时间2023/10/9 23:12
  • 上次更新2023/11/2 14:43:02
查看原帖
优先队列求助
902004
jiapuludeng楼主2023/10/9 23:12
#include <bits/stdc++.h>
using namespace std;
priority_queue<int,vector<int>,greater<int> > ans;
int main()
{
	ans.push(1);
	cout << ans.front();
	return 0;	
} 

这段代码编译不出来

2023/10/9 23:12
加载中...