0_0_24613658_21324\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_24613658_21324\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_24613658_21324\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_24613658_21324\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_24613658_21324\Main.java:7: 错误: 需要class, interface或enum
const int N=110;
^
0_0_24613658_21324\Main.java:8: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_24613658_21324\Main.java:10: 错误: 需要class, interface或enum
int n,ans;
^
0_0_24613658_21324\Main.java:11: 错误: 需要class, interface或enum
int map[N][N],dis[N],vis[N];
^
0_0_24613658_21324\Main.java:13: 错误: 需要class, interface或enum
void Prim(){
^
0_0_24613658_21324\Main.java:15: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_24613658_21324\Main.java:15: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_24613658_21324\Main.java:15: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_24613658_21324\Main.java:17: 错误: 需要class, interface或enum
vis[i]=0;
^
0_0_24613658_21324\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_24613658_21324\Main.java:20: 错误: 需要class, interface或enum
vis[1]=1;
^
0_0_24613658_21324\Main.java:21: 错误: 需要class, interface或enum
int j,k,tmp;
^
0_0_24613658_21324\Main.java:22: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_24613658_21324\Main.java:22: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_24613658_21324\Main.java:22: 错误: 需要class, interface或enum
for(i=1;i<=n;i++){
^
0_0_24613658_21324\Main.java:24: 错误: 需要class, interface或enum
for(j=1;j<=n;j++)
^
0_0_24613658_21324\Main.java:24: 错误: 需要class, interface或enum
for(j=1;j<=n;j++)
^
0_0_24613658_21324\Main.java:24: 错误: 需要class, interface或enum
for(j=1;j<=n;j++)
^
0_0_24613658_21324\Main.java:27: 错误: 需要class, interface或enum
tmp=dis[j];
^
0_0_24613658_21324\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_24613658_21324\Main.java:31: 错误: 需要class, interface或enum
vis[k]=1;
^
0_0_24613658_21324\Main.java:32: 错误: 需要class, interface或enum
ans+=dis[k];
^
0_0_24613658_21324\Main.java:33: 错误: 需要class, interface或enum
for(j=1;j<=n;j++)
^
0_0_24613658_21324\Main.java:33: 错误: 需要class, interface或enum
for(j=1;j<=n;j++)
^
0_0_24613658_21324\Main.java:33: 错误: 需要class, interface或enum
for(j=1;j<=n;j++)
^
0_0_24613658_21324\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_24613658_21324\Main.java:44: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_24613658_21324\Main.java:44: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++)
^
0_0_24613658_21324\Main.java:45: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_24613658_21324\Main.java:45: 错误: 需要class, interface或enum
for(int j=1;j<=n;j++)
^
0_0_24613658_21324\Main.java:47: 错误: 需要class, interface或enum
int q,a,b;
^
0_0_24613658_21324\Main.java:48: 错误: 需要class, interface或enum
scanf("%d",&q);
^
0_0_24613658_21324\Main.java:49: 错误: 需要class, interface或enum
while(q--){
^
0_0_24613658_21324\Main.java:51: 错误: 需要class, interface或enum
map[a][b]=map[b][a]=0;
^
0_0_24613658_21324\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_24613658_21324\Main.java:54: 错误: 需要class, interface或enum
Prim();
^
0_0_24613658_21324\Main.java:55: 错误: 需要class, interface或enum
printf("%d\n",ans);
^
0_0_24613658_21324\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_24613658_21324\Main.java:58: 错误: 需要class, interface或enum
}
^
43 个错误
|