0_0_24312862_30028.cpp:85:1: error: 'prime' does not name a type
prime
^
0_0_24312862_30028.cpp:92:5: error: redefinition of 'int city'
int city,road;
^
0_0_24312862_30028.cpp:9:5: note: 'int city' previously declared here
int city,road;
^
0_0_24312862_30028.cpp:92:10: error: redefinition of 'int road'
int city,road;
^
0_0_24312862_30028.cpp:9:10: note: 'int road' previously declared here
int city,road;
^
0_0_24312862_30028.cpp: In function 'void prime()':
0_0_24312862_30028.cpp:99:9: error: 'visit' was not declared in this scope
visit[i]=0;
^
0_0_24312862_30028.cpp:100:9: error: 'low' was not declared in this scope
low[i]=map[1][i];
^
0_0_24312862_30028.cpp:100:16: error: 'map' was not declared in this scope
low[i]=map[1][i];
^
0_0_24312862_30028.cpp:102:5: error: 'visit' was not declared in this scope
visit[1]=1;
^
0_0_24312862_30028.cpp:109:31: error: 'low' was not declared in this scope
if(!visit[j]&&min>low[j])
^
0_0_24312862_30028.cpp:124:27: error: 'map' was not declared in this scope
if(!visit[j]&&map[next][j]<low[j])
^
0_0_24312862_30028.cpp:124:40: error: 'low' was not declared in this scope
if(!visit[j]&&map[next][j]<low[j])
^
0_0_24312862_30028.cpp: In function 'int main()':
0_0_24312862_30028.cpp:132:5: error: redefinition of 'int main()'
int main()
^
0_0_24312862_30028.cpp:41:5: note: 'int main()' previously defined here
int main()
^
0_0_24312862_30028.cpp:142:17: error: 'map' was not declared in this scope
map[i][j]=0;
^
0_0_24312862_30028.cpp:144:17: error: 'map' was not declared in this scope
map[i][j]=INF;
^
0_0_24312862_30028.cpp:150:16: error: 'map' was not declared in this scope
if(map[x][y]>c)
^
|