0_0_13076052_20191.cpp: In function 'void MinTree()':
0_0_13076052_20191.cpp:11:20: error: 'N' was not declared in this scope
double lowcoat[N],min,sum;
^
0_0_13076052_20191.cpp:17:9: error: 'adj' was not declared in this scope
adj[i]=1;
^
0_0_13076052_20191.cpp:18:12: error: 'g' was not declared in this scope
if(g[1][i]>=MIN) lowcoat[i]=g[1][i];
^
0_0_13076052_20191.cpp:18:21: error: 'MIN' was not declared in this scope
if(g[1][i]>=MIN) lowcoat[i]=g[1][i];
^
0_0_13076052_20191.cpp:18:26: error: 'lowcoat' was not declared in this scope
if(g[1][i]>=MIN) lowcoat[i]=g[1][i];
^
0_0_13076052_20191.cpp:19:26: error: 'lowcoat' was not declared in this scope
else lowcoat[i]=INF;
^
0_0_13076052_20191.cpp:19:37: error: 'INF' was not declared in this scope
else lowcoat[i]=INF;
^
0_0_13076052_20191.cpp:21:5: error: 'lowcoat' was not declared in this scope
lowcoat[1]=0;
^
0_0_13076052_20191.cpp:25:13: error: 'INF' was not declared in this scope
min=INF; k=1;
^
0_0_13076052_20191.cpp:33:41: error: 'g' was not declared in this scope
if(lowcoat[i] && lowcoat[i]>g[k][i] && g[k][i]>=MIN)
^
0_0_13076052_20191.cpp:33:61: error: 'MIN' was not declared in this scope
if(lowcoat[i] && lowcoat[i]>g[k][i] && g[k][i]>=MIN)
^
0_0_13076052_20191.cpp:36:17: error: 'adj' was not declared in this scope
adj[i]=k;
^
0_0_13076052_20191.cpp:42: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_13076052_20191.cpp:42: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_13076052_20191.cpp:42:27: error: 'MIN' was not declared in this scope
if(g[i][adj[i]] < MIN || g[i][adj[i]]> MAX) { sum=-1; break;}
^
0_0_13076052_20191.cpp:42: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_13076052_20191.cpp:43:14: error: 'g' was not declared in this scope
sum+=g[i][adj[i]];
^
0_0_13076052_20191.cpp:43:19: error: 'adj' was not declared in this scope
sum+=g[i][adj[i]];
^
|