0_0_21545034_8304.cpp: In function 'void dijkstra(int)':
0_0_21545034_8304.cpp:10:15: error: 'maxn' was not declared in this scope
int visit[maxn],i,j,min,next=x;
^
0_0_21545034_8304.cpp:11:12: error: 'visit' was not declared in this scope
memset(visit,0,sizeof(visit));
^
0_0_21545034_8304.cpp:11:33: error: 'memset' was not declared in this scope
memset(visit,0,sizeof(visit));
^
0_0_21545034_8304.cpp:12:16: error: 'n' was not declared in this scope
for(i=1;i<=n;++i)
^
0_0_21545034_8304.cpp:13:9: error: 'dis' was not declared in this scope
dis[i]=map[x][i].dt;
^
0_0_21545034_8304.cpp:15:16: error: 'n' was not declared in this scope
for(i=2;i<=n;++i)
^
0_0_21545034_8304.cpp:17:13: error: 'INF' was not declared in this scope
min=INF;
^
0_0_21545034_8304.cpp:20:27: error: 'dis' was not declared in this scope
if(!visit[j]&&dis[j]<min)
^
0_0_21545034_8304.cpp:29:27: error: 'dis' was not declared in this scope
if(!visit[j]&&dis[j]>dis[next]+map[next][j].dt)
^
0_0_21545034_8304.cpp: In function 'int main()':
0_0_21545034_8304.cpp:36:21: error: 'n' was not declared in this scope
while(~scanf("%d",&n,&m))
^
0_0_21545034_8304.cpp:36:24: error: 'm' was not declared in this scope
while(~scanf("%d",&n,&m))
^
0_0_21545034_8304.cpp:38:7: error: 'inr' was not declared in this scope
for(inr i=1;i<=m;i++)
^
0_0_21545034_8304.cpp:38:15: error: 'i' was not declared in this scope
for(inr i=1;i<=m;i++)
^
|