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_18276106_2971.cpp: In function 'int dinic::dfs(int, int)':
0_0_18276106_2971.cpp:64:20: error: 'ret' was not declared in this scope
             return ret;
                    ^
0_0_18276106_2971.cpp: In function 'int maxflow()':
0_0_18276106_2971.cpp:69:13: error: 'sink' was not declared in this scope
         if (sink == src) return 0;
             ^
0_0_18276106_2971.cpp:69:13: note: suggested alternative:
0_0_18276106_2971.cpp:13:14: note:   'dinic::sink'
     int src, sink;
              ^
0_0_18276106_2971.cpp:69:21: error: 'src' was not declared in this scope
         if (sink == src) return 0;
                     ^
0_0_18276106_2971.cpp:69:21: note: suggested alternative:
0_0_18276106_2971.cpp:13:9: note:   'dinic::src'
     int src, sink;
         ^
0_0_18276106_2971.cpp:71:16: error: 'vis' was not declared in this scope
         memset(vis, 0, sizeof(vis));
                ^
0_0_18276106_2971.cpp:71:16: note: suggested alternative:
0_0_18276106_2971.cpp:27:10: note:   'dinic::vis'
     bool vis[MAXN];
          ^
0_0_18276106_2971.cpp:76:17: error: 'bfs' was not declared in this scope
             bfs();
                 ^
0_0_18276106_2971.cpp:76:17: note: suggested alternative:
0_0_18276106_2971.cpp:30:10: note:   'dinic::bfs'
     void bfs(){
          ^
0_0_18276106_2971.cpp:77:22: error: 'sink' was not declared in this scope
             if (!vis[sink]) return ret;
                      ^
0_0_18276106_2971.cpp:77:22: note: suggested alternative:
0_0_18276106_2971.cpp:13:14: note:   'dinic::sink'
     int src, sink;
              ^
0_0_18276106_2971.cpp:81:28: error: 'src' was not declared in this scope
                 ret += dfs(src, INF;
                            ^
0_0_18276106_2971.cpp:81:28: note: suggested alternative:
0_0_18276106_2971.cpp:13:9: note:   'dinic::src'
     int src, sink;
         ^
0_0_18276106_2971.cpp:81:36: error: expected ')' before ';' token
                 ret += dfs(src, INF;
                                    ^
0_0_18276106_2971.cpp: In function 'void init()':
0_0_18276106_2971.cpp:88:16: error: 'first' was not declared in this scope
         memset(first, 0xff, sizeof(first));
                ^
0_0_18276106_2971.cpp:88:16: note: suggested alternative:
0_0_18276106_2971.cpp:18:9: note:   'dinic::first'
     int first[MAXN];
         ^
0_0_18276106_2971.cpp:89:9: error: 'eNum' was not declared in this scope
         eNum = 0;
         ^
0_0_18276106_2971.cpp:89:9: note: suggested alternative:
0_0_18276106_2971.cpp:19:9: note:   'dinic::eNum'
     int eNum;
         ^
0_0_18276106_2971.cpp: At global scope:
0_0_18276106_2971.cpp:92:1: error: expected declaration before '}' token
 }
 ^


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-29 21:05:23, Gzip enabled