0_0_21603021_18166.cpp: In function 'void floyd()':
0_0_21603021_18166.cpp:3:4: error: 'd' was not declared in this scope
d=inf;
^
0_0_21603021_18166.cpp:3:6: error: 'inf' was not declared in this scope
d=inf;
^
0_0_21603021_18166.cpp:4:15: error: 'n' was not declared in this scope
for(i=1;i<=n;i++)
^
0_0_21603021_18166.cpp:5:25: error: 'path' was not declared in this scope
for(j=1;j<=n;j++) path[i][j]=j,dis[i][j]=e[i][j];
^
0_0_21603021_18166.cpp:5:38: error: 'dis' was not declared in this scope
for(j=1;j<=n;j++) path[i][j]=j,dis[i][j]=e[i][j];
^
0_0_21603021_18166.cpp:5:48: error: 'e' was not declared in this scope
for(j=1;j<=n;j++) path[i][j]=j,dis[i][j]=e[i][j];
^
0_0_21603021_18166.cpp:7:15: error: 'n' was not declared in this scope
for(k=1;k<=n;k++) {
^
0_0_21603021_18166.cpp:10:27: error: 'e' was not declared in this scope
for(i=1;i<k;i++) if(e[i][k]!=inf)
^
0_0_21603021_18166.cpp:12:16: error: 'dis' was not declared in this scope
if(dis[i][j]==inf) continue;
^
0_0_21603021_18166.cpp:13:18: error: 'dis' was not declared in this scope
if(d>dis[i][j]+e[i][k]+e[k][j]) {
^
0_0_21603021_18166.cpp:16:16: error: 'len' was not declared in this scope
len=0; s[0]=k; v=i;
^
0_0_21603021_18166.cpp:16:23: error: 's' was not declared in this scope
len=0; s[0]=k; v=i;
^
0_0_21603021_18166.cpp:17:41: error: 'path' was not declared in this scope
while(v!=j) s[++len]=v,v=path[v][j];
^
0_0_21603021_18166.cpp:22:28: error: 'dis' was not declared in this scope
for(i=1;i<=n;i++) if(dis[i][k]!=inf)
^
0_0_21603021_18166.cpp:25:30: error: 'path' was not declared in this scope
dis[i][j]=w , path[i][j]=path[i][k];
^
|