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_29953784_24144.cpp: In member function 'int Graph::Dinic()':
0_0_29953784_24144.cpp:92:34: error: 'n' was not declared in this scope
             for (int i = 1; i <= n; i++) //每一次建立完分层图后都要把cur置为每一个点的第一条边
                                  ^
0_0_29953784_24144.cpp:93:21: error: 'u' was not declared in this scope
                 cur[u] = head[i];
                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-03-11 13:10:05, Gzip enabled