0_0_22152115_23038\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_22152115_23038\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_22152115_23038\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_22152115_23038\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_22152115_23038\Main.java:4: 错误: 非法字符: '#'
#include<queue>
^
0_0_22152115_23038\Main.java:5: 错误: 非法字符: '#'
#define inf 0x3f3f3f3f
^
0_0_22152115_23038\Main.java:7: 错误: 需要class, interface或enum
struct path
^
0_0_22152115_23038\Main.java:10: 错误: 需要class, interface或enum
}edge[200010];
^
0_0_22152115_23038\Main.java:11: 错误: 需要class, interface或enum
struct node
^
0_0_22152115_23038\Main.java:14: 错误: 需要class, interface或enum
};
^
0_0_22152115_23038\Main.java:15: 错误: 需要class, interface或enum
int e,head[100010],vis[100010],dis[100010],st[100010],n,m,k;
^
0_0_22152115_23038\Main.java:16: 错误: 需要class, interface或enum
void addedge(int u,int v,int w)
^
0_0_22152115_23038\Main.java:19: 错误: 需要class, interface或enum
edge[e].val = w;
^
0_0_22152115_23038\Main.java:20: 错误: 需要class, interface或enum
edge[e].next = head[u];
^
0_0_22152115_23038\Main.java:21: 错误: 需要class, interface或enum
head[u] = e ++;
^
0_0_22152115_23038\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:28: 错误: 需要class, interface或enum
int dijkstra()
^
0_0_22152115_23038\Main.java:31: 错误: 需要class, interface或enum
while(!ken.empty())
^
0_0_22152115_23038\Main.java:34: 错误: 需要class, interface或enum
ken.pop();
^
0_0_22152115_23038\Main.java:35: 错误: 需要class, interface或enum
if(vis[now.id]) return now.val;
^
0_0_22152115_23038\Main.java:36: 错误: 需要class, interface或enum
int u = now.id;
^
0_0_22152115_23038\Main.java:37: 错误: 需要class, interface或enum
for(i = head[u];i != -1;i = edge[i].next)
^
0_0_22152115_23038\Main.java:37: 错误: 需要class, interface或enum
for(i = head[u];i != -1;i = edge[i].next)
^
0_0_22152115_23038\Main.java:37: 错误: 需要class, interface或enum
for(i = head[u];i != -1;i = edge[i].next)
^
0_0_22152115_23038\Main.java:40: 错误: 需要class, interface或enum
if(dis[v] > now.val + edge[i].val)
^
0_0_22152115_23038\Main.java:43: 错误: 需要class, interface或enum
ken.push(node{v,dis[v]});
^
0_0_22152115_23038\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:52: 错误: 需要class, interface或enum
memset(dis,inf,sizeof(vis));
^
0_0_22152115_23038\Main.java:53: 错误: 需要class, interface或enum
while(!ken.empty()) ken.pop();
^
0_0_22152115_23038\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:58: 错误: 需要class, interface或enum
int ans = inf;
^
0_0_22152115_23038\Main.java:59: 错误: 需要class, interface或enum
for(i = 0;i <= 20;i ++)
^
0_0_22152115_23038\Main.java:59: 错误: 需要class, interface或enum
for(i = 0;i <= 20;i ++)
^
0_0_22152115_23038\Main.java:59: 错误: 需要class, interface或enum
for(i = 0;i <= 20;i ++)
^
0_0_22152115_23038\Main.java:62: 错误: 需要class, interface或enum
for(j = 0;j < k;j ++)
^
0_0_22152115_23038\Main.java:62: 错误: 需要class, interface或enum
for(j = 0;j < k;j ++)
^
0_0_22152115_23038\Main.java:62: 错误: 需要class, interface或enum
for(j = 0;j < k;j ++)
^
0_0_22152115_23038\Main.java:67: 错误: 需要class, interface或enum
ken.push(node{st[j],dis[st[j]]} );
^
0_0_22152115_23038\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:72: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:75: 错误: 需要class, interface或enum
initial();
^
0_0_22152115_23038\Main.java:76: 错误: 需要class, interface或enum
for(j = 0;j < k;j ++)
^
0_0_22152115_23038\Main.java:76: 错误: 需要class, interface或enum
for(j = 0;j < k;j ++)
^
0_0_22152115_23038\Main.java:76: 错误: 需要class, interface或enum
for(j = 0;j < k;j ++)
^
0_0_22152115_23038\Main.java:81: 错误: 需要class, interface或enum
ken.push(node{st[j],dis[st[j]]} );
^
0_0_22152115_23038\Main.java:82: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:86: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:91: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:95: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_22152115_23038\Main.java:96: 错误: 需要class, interface或enum
int tt = 0;
^
0_0_22152115_23038\Main.java:97: 错误: 需要class, interface或enum
while(t --)
^
0_0_22152115_23038\Main.java:100: 错误: 需要class, interface或enum
e = 0;
^
0_0_22152115_23038\Main.java:101: 错误: 需要class, interface或enum
memset(head,-1,sizeof(head));
^
0_0_22152115_23038\Main.java:102: 错误: 需要class, interface或enum
for(i = 0;i < m;i ++)
^
0_0_22152115_23038\Main.java:102: 错误: 需要class, interface或enum
for(i = 0;i < m;i ++)
^
0_0_22152115_23038\Main.java:102: 错误: 需要class, interface或enum
for(i = 0;i < m;i ++)
^
0_0_22152115_23038\Main.java:105: 错误: 需要class, interface或enum
scanf("%d%d%d",&u,&v,&w);
^
0_0_22152115_23038\Main.java:106: 错误: 需要class, interface或enum
addedge(u,v,w);
^
0_0_22152115_23038\Main.java:107: 错误: 需要class, interface或enum
addedge(v,u,w);
^
0_0_22152115_23038\Main.java:108: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:110: 错误: 需要class, interface或enum
for(i = 0;i < k ;i ++)
^
0_0_22152115_23038\Main.java:110: 错误: 需要class, interface或enum
for(i = 0;i < k ;i ++)
^
0_0_22152115_23038\Main.java:110: 错误: 需要class, interface或enum
for(i = 0;i < k ;i ++)
^
0_0_22152115_23038\Main.java:113: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:115: 错误: 需要class, interface或enum
}
^
0_0_22152115_23038\Main.java:117: 错误: 需要class, interface或enum
}
^
69 个错误
|