0_0_17905548_19907.cpp:128:1: error: stray '\343' in program
<p> </p>
^
0_0_17905548_19907.cpp:128:1: error: stray '\200' in program
0_0_17905548_19907.cpp:128:1: error: stray '\200' in program
0_0_17905548_19907.cpp:128:1: error: stray '\343' in program
0_0_17905548_19907.cpp:128:1: error: stray '\200' in program
0_0_17905548_19907.cpp:128:1: error: stray '\200' in program
0_0_17905548_19907.cpp:129:1: error: stray '\350' in program
<p>转:</p>
^
0_0_17905548_19907.cpp:129:1: error: stray '\275' in program
0_0_17905548_19907.cpp:129:1: error: stray '\254' in program
0_0_17905548_19907.cpp:131:52: error: stray '#' in program
<pre class="brush:cpp;collapse:true;;gutter:true;">#include<iostream>
^
0_0_17905548_19907.cpp:126:1: error: expected unqualified-id before '<' token
</pre>
^
0_0_17905548_19907.cpp:141:14: error: conflicting declaration 'int head [1010]'
int head[Maxn],vi[Maxn],col[Maxn],map[Maxn][Maxn],e,n,cnt[Maxn],dis[Maxn];
^
0_0_17905548_19907.cpp:16:5: note: previous declaration as 'int head [305]'
int head[305],tot;
^
0_0_17905548_19907.cpp:141:33: error: conflicting declaration 'int col [1010]'
int head[Maxn],vi[Maxn],col[Maxn],map[Maxn][Maxn],e,n,cnt[Maxn],dis[Maxn];
^
0_0_17905548_19907.cpp:9:5: note: previous declaration as 'int col [305]'
int col[305];
^
0_0_17905548_19907.cpp:141:53: error: redefinition of 'int n'
int head[Maxn],vi[Maxn],col[Maxn],map[Maxn][Maxn],e,n,cnt[Maxn],dis[Maxn];
^
0_0_17905548_19907.cpp:17:23: note: 'int n' previously declared here
int dis[305],cnt[305],n; bool vis[305];
^
0_0_17905548_19907.cpp:141:63: error: conflicting declaration 'int cnt [1010]'
int head[Maxn],vi[Maxn],col[Maxn],map[Maxn][Maxn],e,n,cnt[Maxn],dis[Maxn];
^
0_0_17905548_19907.cpp:17:14: note: previous declaration as 'int cnt [305]'
int dis[305],cnt[305],n; bool vis[305];
^
0_0_17905548_19907.cpp:141:73: error: conflicting declaration 'int dis [1010]'
int head[Maxn],vi[Maxn],col[Maxn],map[Maxn][Maxn],e,n,cnt[Maxn],dis[Maxn];
^
0_0_17905548_19907.cpp:17:5: note: previous declaration as 'int dis [305]'
int dis[305],cnt[305],n; bool vis[305];
^
0_0_17905548_19907.cpp:150:8: error: redefinition of 'struct Edge'
struct Edge{
^
0_0_17905548_19907.cpp:12:8: error: previous definition of 'struct Edge'
struct Edge{
^
0_0_17905548_19907.cpp:152:12: error: invalid type in declaration before ';' token
}edge[Maxm];
^
0_0_17905548_19907.cpp:152:12: error: conflicting declaration 'int edge [1020100]'
0_0_17905548_19907.cpp:15:2: note: previous declaration as 'Edge edge [180000]'
}edge[300*300*2];
^
0_0_17905548_19907.cpp: In function 'void add(int, int, int)':
0_0_17905548_19907.cpp:160:37: error: 'struct Edge' has no member named 'val'
edge[e].u=u,edge[e].v=v,edge[e].val=val,edge[e].next=head[u],head[u]=e++;
^
0_0_17905548_19907.cpp: In function 'int spfa()':
0_0_17905548_19907.cpp:174:10: error: ambiguating new declaration of 'int spfa()'
int spfa()
^
0_0_17905548_19907.cpp:41:6: note: old declaration 'bool spfa()'
bool spfa(){
^
0_0_17905548_19907.cpp:191:38: error: 'struct Edge' has no member named 'val'
if(dis[v]>dis[u]+edge[i].val){
^
0_0_17905548_19907.cpp:192:39: error: 'struct Edge' has no member named 'val'
dis[v]=dis[u]+edge[i].val;
^
0_0_17905548_19907.cpp: In function 'int main()':
0_0_17905548_19907.cpp:233:5: error: redefinition of 'int main()'
int main()
^
0_0_17905548_19907.cpp:70:5: note: 'int main()' previously defined here
int main(){
^
|