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_36065318_26983.cpp:77:6: error: 'priority_queue' in namespace 'std' does not name a template type
 std::priority_queue< state > q ;
      ^
0_0_36065318_26983.cpp: In function 'int spfa(state)':
0_0_36065318_26983.cpp:80:17: error: 'q' was not declared in this scope
        while( ! q.empty() ) q.pop()  ;
                 ^
0_0_36065318_26983.cpp:88:8: error: 'q' was not declared in this scope
        q.push(s) ;
        ^
0_0_36065318_26983.cpp: In function 'int main()':
0_0_36065318_26983.cpp:132:7: error: 'cin' was not declared in this scope
       cin>>t ;
       ^
0_0_36065318_26983.cpp:134:27: error: 'scanf' was not declared in this scope
            scanf("%d" , &n) ;
                           ^
0_0_36065318_26983.cpp:146:45: error: 'printf' was not declared in this scope
            printf("Case #%d: %d\n" , T++ , i) ;
                                             ^


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-05-05 03:03:11, Gzip enabled