0_0_34732479_24243.cpp:56:32: error: stray '#' in program
}<pre name="code" class="html">#include<stdio.h>
^
0_0_34732479_24243.cpp:56:2: error: expected unqualified-id before '<' token
}<pre name="code" class="html">#include<stdio.h>
^
0_0_34732479_24243.cpp: In function 'void prim()':
0_0_34732479_24243.cpp:65:12: error: 'n' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_34732479_24243.cpp:66:13: error: 'map' was not declared in this scope
lowcost[i]=map[0][i];
^
0_0_34732479_24243.cpp:68:12: error: 'n' was not declared in this scope
for(i=1;i<n;i++)
^
0_0_34732479_24243.cpp:87:18: error: 'map' was not declared in this scope
if(lowcost[j]>map[next][j]&&!visit[j])
^
0_0_34732479_24243.cpp: In function 'int main()':
0_0_34732479_24243.cpp:92:5: error: redefinition of 'int main()'
int main()
^
0_0_34732479_24243.cpp:27:5: note: 'int main()' previously defined here
int main()
^
0_0_34732479_24243.cpp:95:23: error: 'n' was not declared in this scope
while(~scanf("%d%d",&n,&m))
^
0_0_34732479_24243.cpp:95:26: error: 'm' was not declared in this scope
while(~scanf("%d%d",&n,&m))
^
0_0_34732479_24243.cpp:100:15: error: 'map' was not declared in this scope
if(i==j) map[i][j]=0;
^
0_0_34732479_24243.cpp:101:10: error: 'map' was not declared in this scope
else map[i][j]=INF;
^
0_0_34732479_24243.cpp:106:8: error: 'map' was not declared in this scope
if(map[s][t]>c)
^
|