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_29470345_16524.cpp: In function 'int find_path(int, int)':
0_0_29470345_16524.cpp:8:2: error: 'nbsp' was not declared in this scope
     if (p == n - 1) return limit;
  ^
0_0_29470345_16524.cpp:11:64: error: 'i' was not declared in this scope
         if (dist[p] == dist[i] + 1 && flow[p][i] > 0)
                                                                ^
0_0_29470345_16524.cpp:13:86: error: 'i' was not declared in this scope
             int t = find_path(i, min(limit, flow[p][i]));
                                                                                      ^
0_0_29470345_16524.cpp:24:97: error: 'i' was not declared in this scope
     for (int i = 0; i < n; ++i) if (flow[p][i] >0)  label = min(label, dist[i] + 1);
                                                                                                 ^
0_0_29470345_16524.cpp: In function 'int iSAP()':
0_0_29470345_16524.cpp:31:2: error: 'nbsp' was not declared in this scope
     gap[0] = n;
  ^
0_0_29470345_16524.cpp: In function 'int main()':
0_0_29470345_16524.cpp:38:2: error: 'nbsp' was not declared in this scope
     while(scanf("%d%d",&n,&k)!=EOF)
  ^
0_0_29470345_16524.cpp:47:70: error: 'i' was not declared in this scope
            flow[0][i] += x;//注意是无向图还是有向图
                                                                      ^
0_0_29470345_16524.cpp:55:73: error: 'i' was not declared in this scope
             flow[i][n+1]+=x;
                                                                         ^


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-05-25 20:57:28, Gzip enabled