0_0_17765664_11723.cpp: In function 'void Dijkstra(int, int)':
0_0_17765664_11723.cpp:3:5: error: 'vis' was not declared in this scope
vis[s]=1;
^
0_0_17765664_11723.cpp:4:20: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++)f[i]=Map[s][i];
^
0_0_17765664_11723.cpp:4:26: error: 'f' was not declared in this scope
for(int i=1;i<=n;i++)f[i]=Map[s][i];
^
0_0_17765664_11723.cpp:4:31: error: 'Map' was not declared in this scope
for(int i=1;i<=n;i++)f[i]=Map[s][i];
^
0_0_17765664_11723.cpp:5:5: error: 'f' was not declared in this scope
f[s]=0;
^
0_0_17765664_11723.cpp:7:19: error: 'n' was not declared in this scope
for(int l=1;l<n;l++)
^
0_0_17765664_11723.cpp:9:17: error: 'inf' was not declared in this scope
int Min=inf;
^
0_0_17765664_11723.cpp:17:45: error: 'Map' was not declared in this scope
if(!vis[i])f[i]=min(f[i],f[pos]+Map[pos][i]);
^
0_0_17765664_11723.cpp:17:56: error: 'min' was not declared in this scope
if(!vis[i])f[i]=min(f[i],f[pos]+Map[pos][i]);
^
|