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