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_29918039_18004.cpp: In function 'bool spfa(int, int, int&, double&)':
0_0_29918039_18004.cpp:37:46: error: invalid types 'int[int]' for array subscript
         dis[i]=inf;vis[i]=0;pre[i]=-1; flow[i]=0;
                                              ^
0_0_29918039_18004.cpp:40:21: error: invalid types 'int[int]' for array subscript
     vis[s]=1; flow[s]=MAX;
                     ^
0_0_29918039_18004.cpp:49:33: error: invalid types 'int[int]' for array subscript
                 pre[v]=i; flow[v]=min(flow[u],e[i].cap);
                                 ^
0_0_29918039_18004.cpp:49:45: error: invalid types 'int[int]' for array subscript
                 pre[v]=i; flow[v]=min(flow[u],e[i].cap);
                                             ^
0_0_29918039_18004.cpp:60:17: error: invalid types 'int[int]' for array subscript
     int d=flow[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-09-21 06:54:10, Gzip enabled