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