F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 09:40:23, Gzip enabled