0_0_31669664_32486\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_31669664_32486\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
^
0_0_31669664_32486\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_31669664_32486\Main.java:6: 错误: 需要class, interface或enum
}edg[22000];
^
0_0_31669664_32486\Main.java:8: 错误: 需要class, interface或enum
int cnt,head[10010],beg,end,du[10010];
^
0_0_31669664_32486\Main.java:10: 错误: 需要class, interface或enum
int dis[10010],dis2[10010],n;
^
0_0_31669664_32486\Main.java:12: 错误: 需要class, interface或enum
bool in[10010];
^
0_0_31669664_32486\Main.java:14: 错误: 需要class, interface或enum
int root,root2;
^
0_0_31669664_32486\Main.java:16: 错误: 需要class, interface或enum
int max(int x,int y)
^
0_0_31669664_32486\Main.java:19: 错误: 需要class, interface或enum
return y;
^
0_0_31669664_32486\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_31669664_32486\Main.java:25: 错误: 需要class, interface或enum
edg[cnt].to=head[x];
^
0_0_31669664_32486\Main.java:26: 错误: 需要class, interface或enum
edg[cnt].lnk=y;
^
0_0_31669664_32486\Main.java:27: 错误: 需要class, interface或enum
edg[cnt].cost=z;
^
0_0_31669664_32486\Main.java:28: 错误: 需要class, interface或enum
head[x]=cnt;
^
0_0_31669664_32486\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_31669664_32486\Main.java:34: 错误: 需要class, interface或enum
end=1;
^
0_0_31669664_32486\Main.java:35: 错误: 需要class, interface或enum
du[1]=x;
^
0_0_31669664_32486\Main.java:36: 错误: 需要class, interface或enum
in[x]=1;
^
0_0_31669664_32486\Main.java:37: 错误: 需要class, interface或enum
dis[x]=0;
^
0_0_31669664_32486\Main.java:38: 错误: 需要class, interface或enum
while(beg<=end)
^
0_0_31669664_32486\Main.java:40: 错误: 需要class, interface或enum
for(int i=head[du[beg]];i;i=edg[i].to)
^
0_0_31669664_32486\Main.java:40: 错误: 需要class, interface或enum
for(int i=head[du[beg]];i;i=edg[i].to)
^
0_0_31669664_32486\Main.java:43: 错误: 需要class, interface或enum
if(!in[y])
^
0_0_31669664_32486\Main.java:46: 错误: 需要class, interface或enum
end++;
^
0_0_31669664_32486\Main.java:47: 错误: 需要class, interface或enum
du[end]=y;
^
0_0_31669664_32486\Main.java:48: 错误: 需要class, interface或enum
in[y]=1;
^
0_0_31669664_32486\Main.java:49: 错误: 需要class, interface或enum
}
^
0_0_31669664_32486\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_31669664_32486\Main.java:62: 错误: 需要class, interface或enum
root=0;
^
0_0_31669664_32486\Main.java:63: 错误: 需要class, interface或enum
root2=0;
^
0_0_31669664_32486\Main.java:64: 错误: 需要class, interface或enum
memset(head,0,sizeof head);
^
0_0_31669664_32486\Main.java:65: 错误: 需要class, interface或enum
memset( dis,0,sizeof dis);
^
0_0_31669664_32486\Main.java:66: 错误: 需要class, interface或enum
memset(dis2,0,sizeof dis2);
^
0_0_31669664_32486\Main.java:67: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)
^
0_0_31669664_32486\Main.java:67: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)
^
0_0_31669664_32486\Main.java:67: 错误: 需要class, interface或enum
for(int i=1;i<n;i++)
^
0_0_31669664_32486\Main.java:70: 错误: 需要class, interface或enum
scanf("%d%d",&a,&b);
^
0_0_31669664_32486\Main.java:71: 错误: 需要class, interface或enum
addedge(i+1,a,b);
^
0_0_31669664_32486\Main.java:72: 错误: 需要class, interface或enum
addedge(a,i+1,b);
^
0_0_31669664_32486\Main.java:73: 错误: 需要class, interface或enum
}
^
0_0_31669664_32486\Main.java:75: 错误: 需要class, interface或enum
bfs(1);
^
0_0_31669664_32486\Main.java:76: 错误: 需要class, interface或enum
root=du[end];
^
0_0_31669664_32486\Main.java:77: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_31669664_32486\Main.java:77: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_31669664_32486\Main.java:77: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_31669664_32486\Main.java:79: 错误: 需要class, interface或enum
memset(in,0,sizeof in);
^
0_0_31669664_32486\Main.java:80: 错误: 需要class, interface或enum
memset(dis,0,sizeof dis);
^
0_0_31669664_32486\Main.java:81: 错误: 需要class, interface或enum
bfs(root);
^
0_0_31669664_32486\Main.java:82: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_31669664_32486\Main.java:82: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_31669664_32486\Main.java:82: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_31669664_32486\Main.java:84: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_31669664_32486\Main.java:84: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_31669664_32486\Main.java:84: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_31669664_32486\Main.java:86: 错误: 需要class, interface或enum
memset(in,0,sizeof in);
^
0_0_31669664_32486\Main.java:87: 错误: 需要class, interface或enum
bfs(root2);
^
0_0_31669664_32486\Main.java:88: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_31669664_32486\Main.java:88: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_31669664_32486\Main.java:88: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_31669664_32486\Main.java:90: 错误: 需要class, interface或enum
}
^
61 个错误
|