0_0_32658758_2139.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_32658758_2139.cpp: In function 'void init()':
0_0_32658758_2139.cpp:15:47: error: 'memset' was not declared in this scope
tol = 0; memset( head , -1 , sizeof(head) );
^
0_0_32658758_2139.cpp: In function 'void dijkstra()':
0_0_32658758_2139.cpp:42:5: error: 'priority_queue' was not declared in this scope
priority_queue<node>Q;
^
0_0_32658758_2139.cpp:42:24: error: expected primary-expression before '>' token
priority_queue<node>Q;
^
0_0_32658758_2139.cpp:42:25: error: 'Q' was not declared in this scope
priority_queue<node>Q;
^
0_0_32658758_2139.cpp: In function 'int main()':
0_0_32658758_2139.cpp:72:30: error: 'scanf' was not declared in this scope
int T; scanf ( "%d" , &T );
^
0_0_32658758_2139.cpp:84:29: error: 'printf' was not declared in this scope
printf ( "-1\n" );
^
0_0_32658758_2139.cpp:86:51: error: 'log2' was not declared in this scope
printf ( "%d\n" , (int)log2(dis[n]*1.0) );
^
0_0_32658758_2139.cpp:86:53: error: 'printf' was not declared in this scope
printf ( "%d\n" , (int)log2(dis[n]*1.0) );
^
|