0_0_13803207_16803.cpp:14:1: error: stray '\' in program
int edge[MAX][MAX],dist[MAX],node[MAX];/\node记录最终选的点
^
0_0_13803207_16803.cpp:14:1: error: stray '\274' in program
0_0_13803207_16803.cpp:14:1: error: stray '\307' in program
0_0_13803207_16803.cpp:14:1: error: stray '\302' in program
0_0_13803207_16803.cpp:14:1: error: stray '\274' in program
0_0_13803207_16803.cpp:14:1: error: stray '\327' in program
0_0_13803207_16803.cpp:14:1: error: stray '\356' in program
0_0_13803207_16803.cpp:14:1: error: stray '\326' in program
0_0_13803207_16803.cpp:14:1: error: stray '\325' in program
0_0_13803207_16803.cpp:14:1: error: stray '\321' in program
0_0_13803207_16803.cpp:14:1: error: stray '\241' in program
0_0_13803207_16803.cpp:14:1: error: stray '\265' in program
0_0_13803207_16803.cpp:14:1: error: stray '\304' in program
0_0_13803207_16803.cpp:14:1: error: stray '\265' in program
0_0_13803207_16803.cpp:14:1: error: stray '\343' in program
0_0_13803207_16803.cpp:14:40: error: expected unqualified-id before '/' token
int edge[MAX][MAX],dist[MAX],node[MAX];/\node记录最终选的点
^
0_0_13803207_16803.cpp: In function 'int Prim(int)':
0_0_13803207_16803.cpp:21:17: error: 'm' was not declared in this scope
for(int i=1;i<=m;++i)mark[temp[i]]=false,dist[temp[i]]=edge[s][temp[i]];
^
0_0_13803207_16803.cpp:21:28: error: 'temp' was not declared in this scope
for(int i=1;i<=m;++i)mark[temp[i]]=false,dist[temp[i]]=edge[s][temp[i]];
^
0_0_13803207_16803.cpp:24:16: error: 'm' was not declared in this scope
for(int i=1;i<m;++i){
^
0_0_13803207_16803.cpp:27:27: error: 'temp' was not declared in this scope
if(point == s && !mark[temp[j]])point=temp[j];
^
0_0_13803207_16803.cpp:28:13: error: 'temp' was not declared in this scope
if(!mark[temp[j]] && dist[point]>dist[temp[j]])point=temp[j];
^
0_0_13803207_16803.cpp:33:13: error: 'temp' was not declared in this scope
if(!mark[temp[j]] && edge[point][temp[j]]<dist[temp[j]])dist[temp[j]]=edge[point][temp[j]];
^
0_0_13803207_16803.cpp: In function 'void dfs(int, int)':
0_0_13803207_16803.cpp:40:12: error: 'm' was not declared in this scope
if(num == m){
^
0_0_13803207_16803.cpp:42:29: error: 'vale' was not declared in this scope
for(int i=1;i<=m;++i)ans+=vale[temp[i]];
^
0_0_13803207_16803.cpp:42:34: error: 'temp' was not declared in this scope
for(int i=1;i<=m;++i)ans+=vale[temp[i]];
^
0_0_13803207_16803.cpp:46:33: error: 'temp' was not declared in this scope
for(int i=1;i<=m;++i)node[i]=temp[i];
^
0_0_13803207_16803.cpp:50:5: error: 'n' was not declared in this scope
if(n-k+num<m)return;
^
0_0_13803207_16803.cpp:50:13: error: 'm' was not declared in this scope
if(n-k+num<m)return;
^
0_0_13803207_16803.cpp:51:19: error: 'n' was not declared in this scope
for(int i=k+1;i<=n;++i){
^
0_0_13803207_16803.cpp:52:3: error: 'temp' was not declared in this scope
temp[num+1]=i;
^
0_0_13803207_16803.cpp: In function 'int main()':
0_0_13803207_16803.cpp:58:13: error: 'n' was not declared in this scope
while(cin>>n>>m,n+m){
^
0_0_13803207_16803.cpp:58:16: error: 'm' was not declared in this scope
while(cin>>n>>m,n+m){
^
0_0_13803207_16803.cpp:60:29: error: 'vale' was not declared in this scope
for(int i=1;i<=n;++i)cin>>vale[i];
^
0_0_13803207_16803.cpp:67:4: error: 'temp' was not declared in this scope
temp[1]=i;
^
|