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_36723917_4593.cpp:7:25: error: 'manx' was not declared in this scope
 int capacity[maxn],flow[manx],pre[maxn];
                         ^
0_0_36723917_4593.cpp: In function 'int bfs(int, int)':
0_0_36723917_4593.cpp:15:2: error: 'flow' was not declared in this scope
  flow[s]=inf;
  ^
0_0_36723917_4593.cpp:25:26: error: invalid types 'int[int]' for array subscript
    if(i!=s&&capacity[u][i]>0&&pre[i]==-1)
                          ^
0_0_36723917_4593.cpp:28:30: error: invalid types 'int[int]' for array subscript
     flow[i]=min(capacity[u][i],flow[u]);
                              ^
0_0_36723917_4593.cpp: In function 'int maxflow(int, int)':
0_0_36723917_4593.cpp:47:20: error: invalid types 'int[int]' for array subscript
    capacity[last][k]-=increasement;
                    ^
0_0_36723917_4593.cpp:48:20: error: invalid types 'int[int]' for array subscript
    capacity[k][last]+=increasement;
                    ^
0_0_36723917_4593.cpp: In function 'void solve()':
0_0_36723917_4593.cpp:61:10: error: 'flow' was not declared in this scope
   memset(flow,0,sizeof(flow));
          ^
0_0_36723917_4593.cpp:66:17: error: invalid types 'int[int]' for array subscript
    capacity[x][y]+=c;
                 ^


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-11-15 10:40:58, Gzip enabled