0_0_26177283_2088.cpp:14:13: error: template argument 1 is invalid
double dis[N];
^
0_0_26177283_2088.cpp:14:13: error: template argument 2 is invalid
0_0_26177283_2088.cpp: In function 'void init()':
0_0_26177283_2088.cpp:28:9: error: 'head' was not declared in this scope
head[i]=0;
^
0_0_26177283_2088.cpp:29:9: error: 'dis' was not declared in this scope
dis[i]=inf;
^
0_0_26177283_2088.cpp: In function 'void solve()':
0_0_26177283_2088.cpp:47:5: error: 'dis' was not declared in this scope
dis[1]=0;
^
0_0_26177283_2088.cpp:58:15: error: 'head' was not declared in this scope
for(i=head[u];i;i=edge[i].nex)
^
0_0_26177283_2088.cpp:58:27: error: 'edge' was not declared in this scope
for(i=head[u];i;i=edge[i].nex)
^
0_0_26177283_2088.cpp: In function 'int main()':
0_0_26177283_2088.cpp:95:28: error: 'add' was not declared in this scope
add(u,v,a,b);
^
|