0_0_29822015_21485.cpp: In function 'void add(int, int, int)':
0_0_29822015_21485.cpp:79:21: error: 'head1' was not declared in this scope
edge[cnt1].next=head1[u];
^
0_0_29822015_21485.cpp: In function 'void dijkstra1(int, int)':
0_0_29822015_21485.cpp:96:19: error: 'head1' was not declared in this scope
for(int i=head1[u]; i!=-1; i=edge[i].next)
^
0_0_29822015_21485.cpp: In function 'void dijkstra2(int, int)':
0_0_29822015_21485.cpp:122:19: error: 'head1' was not declared in this scope
for(int i=head1[u]; i!=-1; i=edge[i].next)
^
0_0_29822015_21485.cpp: In function 'int main()':
0_0_29822015_21485.cpp:142:16: error: 'head1' was not declared in this scope
memset(head1,-1,sizeof head1);
^
|