0_0_27972576_24083.cpp:88:1: error: invalid use of template-name 'std::priority_queue' without an argument list
priority_queue Q;
^
0_0_27972576_24083.cpp: In function 'int main()':
0_0_27972576_24083.cpp:158:3: error: 'Q' was not declared in this scope
Q.push(U{ss,rt[ss]});
^
0_0_27972576_24083.cpp:161:8: error: 'y' was not declared in this scope
if(y!=rt[x]) continue;
^
0_0_27972576_24083.cpp:163:39: error: 'y' was not declared in this scope
int u=E[i].t,val=MAX-E[i].w,cur=y,lst=cnt,cg=0;
^
0_0_27972576_24083.cpp:168:5: error: 'cg' was not declared in this scope
cg=1; rt[u]=cur; frm[u]=x; Q.push(U{u,rt[u]});
^
0_0_27972576_24083.cpp:170:11: error: 'cg' was not declared in this scope
if(!cg) cnt=lst;
^
0_0_27972576_24083.cpp:170:19: error: 'lst' was not declared in this scope
if(!cg) cnt=lst;
^
|