0_0_25118679_21479.cpp: In function 'void add(int, int, int, int)':
0_0_25118679_21479.cpp:11:2: error: 'e' was not declared in this scope
e[++cnt].to=y;
^
0_0_25118679_21479.cpp:11:6: error: 'cnt' was not declared in this scope
e[++cnt].to=y;
^
0_0_25118679_21479.cpp:14:17: error: 'bgn' was not declared in this scope
e[cnt].next=bgn[x];
^
0_0_25118679_21479.cpp: In function 'void add(int, int, int, int)':
0_0_25118679_21479.cpp:26:6: error: redefinition of 'void add(int, int, int, int)'
void add(int x,int y,int z,int u){
^
0_0_25118679_21479.cpp:10:6: note: 'void add(int, int, int, int)' previously defined here
void add(int x,int y,int z,int u){
^
0_0_25118679_21479.cpp:27:5: error: 'e' was not declared in this scope
e[++cnt]=(node){y,bgn[x],z,u};bgn[x]=cnt;
^
0_0_25118679_21479.cpp:27:15: error: 'node' was not declared in this scope
e[++cnt]=(node){y,bgn[x],z,u};bgn[x]=cnt;
^
0_0_25118679_21479.cpp: In function 'bool spfa()':
0_0_25118679_21479.cpp:44:39: error: 'e' was not declared in this scope
for(register int i=bgn[u];i;i=e[i].next ){
^
0_0_25118679_21479.cpp: In function 'void solve()':
0_0_25118679_21479.cpp:65:9: error: 'e' was not declared in this scope
e[pre[k]].w-=pj[t];
^
|