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_30284922_8093.cpp:11:9: error: 'maxm' was not declared in this scope
 int pre[maxm];    //存储前驱节点
         ^
0_0_30284922_8093.cpp:12:9: error: 'maxm' was not declared in this scope
 int dis[maxm];    //用来表示源点到当前节点的最大可以流过来多少流量
         ^
0_0_30284922_8093.cpp: In function 'void init()':
0_0_30284922_8093.cpp:18:12: error: 'pre' was not declared in this scope
     memset(pre,-1,sizeof(pre));
            ^
0_0_30284922_8093.cpp: In function 'int bfs(int, int)':
0_0_30284922_8093.cpp:24:5: error: 'pre' was not declared in this scope
     pre[start] = 0;
     ^
0_0_30284922_8093.cpp:25:5: error: 'dis' was not declared in this scope
     dis[start] = Inf;
     ^
0_0_30284922_8093.cpp: In function 'void ek(int, int, int)':
0_0_30284922_8093.cpp:54:24: error: 'pre' was not declared in this scope
             int last = pre[k];
                        ^
0_0_30284922_8093.cpp: In function 'int main()':
0_0_30284922_8093.cpp:73:16: error: 'dis' was not declared in this scope
         memset(dis,0,sizeof(dis));
                ^


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-09-28 17:23:53, Gzip enabled