0_0_36431269_28184.cpp:4:15: error: expected initializer before numeric constant
const int inf 0xfffffff
^
0_0_36431269_28184.cpp: In function 'void djstl(int)':
0_0_36431269_28184.cpp:22:3: error: 'dis' was not declared in this scope
dis[i]=mp[a][i];
^
0_0_36431269_28184.cpp:22:10: error: 'mp' was not declared in this scope
dis[i]=mp[a][i];
^
0_0_36431269_28184.cpp:23:9: error: 'vis' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_36431269_28184.cpp:27:12: error: 'inf' was not declared in this scope
int minn=inf;
^
0_0_36431269_28184.cpp:31:21: error: 'dis' was not declared in this scope
if(!vis[j]&&minn>dis[j])
^
0_0_36431269_28184.cpp:39:7: error: 'dis' was not declared in this scope
if(dis[j]>dis[k]+mp[k][j])
^
0_0_36431269_28184.cpp:39:21: error: 'mp' was not declared in this scope
if(dis[j]>dis[k]+mp[k][j])
^
0_0_36431269_28184.cpp: In function 'int main()':
0_0_36431269_28184.cpp:53:5: error: 'mp' was not declared in this scope
mp[i][j]=inf;
^
0_0_36431269_28184.cpp:53:14: error: 'inf' was not declared in this scope
mp[i][j]=inf;
^
0_0_36431269_28184.cpp:57:9: error: 'mp' was not declared in this scope
if(z<mp[x][y])
^
0_0_36431269_28184.cpp:61:17: error: 'dis' was not declared in this scope
printf("%d\n",dis[n]);
^
|