NOIP2024RP++
#include <bits/stdc++.h>
using namespace std; struct clh{
int ltj,lty;
bool operator < (const clh &gzx) const
{
return lty>gzx.lty;
}}; priority_queue <clh> q; int main(){
q.push(clh{1,1});
q.push(clh{1,114514});
q.push(clh{1,3});1
while(!q.empty()){
int u=q.top().lty;
q.pop();
printf("%d\n",u);
}
return 0;