F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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];
         ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-10-26 13:20:37, Gzip enabled