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