0_0_13076071_15225.cpp: In function 'void MinTree()':
0_0_13076071_15225.cpp:11:20: error: 'N' was not declared in this scope
double lowcoat[N],min,sum;
^
0_0_13076071_15225.cpp:18:9: error: 'adj' was not declared in this scope
adj[i]=1;
^
0_0_13076071_15225.cpp:19:12: error: 'g' was not declared in this scope
if(g[1][i]>=MIN) lowcoat[i]=g[1][i];
^
0_0_13076071_15225.cpp:19:26: error: 'lowcoat' was not declared in this scope
if(g[1][i]>=MIN) lowcoat[i]=g[1][i];
^
0_0_13076071_15225.cpp:20:26: error: 'lowcoat' was not declared in this scope
else lowcoat[i]=INF;
^
0_0_13076071_15225.cpp:22:5: error: 'lowcoat' was not declared in this scope
lowcoat[1]=0;
^
0_0_13076071_15225.cpp:34:41: error: 'g' was not declared in this scope
if(lowcoat[i] && lowcoat[i]>g[k][i] && g[k][i]>=MIN)
^
0_0_13076071_15225.cpp:37:17: error: 'adj' was not declared in this scope
adj[i]=k;
^
0_0_13076071_15225.cpp:43:12: error: 'g' was not declared in this scope
if(g[i][adj[i]] < MIN || g[i][adj[i]]> MAX) { sum=-1; break;}
^
0_0_13076071_15225.cpp:43:17: error: 'adj' was not declared in this scope
if(g[i][adj[i]] < MIN || g[i][adj[i]]> MAX) { sum=-1; break;}
^
0_0_13076071_15225.cpp:43:48: error: 'MAX' was not declared in this scope
if(g[i][adj[i]] < MIN || g[i][adj[i]]> MAX) { sum=-1; break;}
^
0_0_13076071_15225.cpp:44:14: error: 'g' was not declared in this scope
sum+=g[i][adj[i]];
^
0_0_13076071_15225.cpp:44:19: error: 'adj' was not declared in this scope
sum+=g[i][adj[i]];
^
|