0_0_22208985_10112.cpp:3:10: error: 'N' was not declared in this scope
double G[N][N],dis[N];
^
0_0_22208985_10112.cpp:3:13: error: 'N' was not declared in this scope
double G[N][N],dis[N];
^
0_0_22208985_10112.cpp:3:20: error: 'N' was not declared in this scope
double G[N][N],dis[N];
^
0_0_22208985_10112.cpp:4:10: error: 'N' was not declared in this scope
bool vis[N];
^
0_0_22208985_10112.cpp: In function 'void dijkstra(int)':
0_0_22208985_10112.cpp:12:3: error: 'vis' was not declared in this scope
vis[i]=0;
^
0_0_22208985_10112.cpp:13:3: error: 'dis' was not declared in this scope
dis[i] = G[s][i]*G[s][s];
^
0_0_22208985_10112.cpp:13:12: error: 'G' was not declared in this scope
dis[i] = G[s][i]*G[s][s];
^
0_0_22208985_10112.cpp:15:2: error: 'vis' was not declared in this scope
vis[s] = 1; dis[s] = G[s][s];
^
0_0_22208985_10112.cpp:15:14: error: 'dis' was not declared in this scope
vis[s] = 1; dis[s] = G[s][s];
^
0_0_22208985_10112.cpp:15:23: error: 'G' was not declared in this scope
vis[s] = 1; dis[s] = G[s][s];
^
0_0_22208985_10112.cpp: In function 'int main()':
0_0_22208985_10112.cpp:48:18: error: 'G' was not declared in this scope
scanf("%lf",&G[i][j]);
^
|