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_21598938_29114.cpp: In function 'bool dfs(int)':
0_0_21598938_29114.cpp:2:22: error: 'g' was not declared in this scope
  for (int i = 0; i < g[u].size(); i++) {
                      ^
0_0_21598938_29114.cpp:4:7: error: 'vis' was not declared in this scope
   if (vis[v]) continue;
       ^
0_0_21598938_29114.cpp:5:3: error: 'vis' was not declared in this scope
   vis[v] = 1;
   ^
0_0_21598938_29114.cpp:6:8: error: 'left' was not declared in this scope
   if (!left[v] || dfs(left[v])) {
        ^
0_0_21598938_29114.cpp: In function 'int hungary()':
0_0_21598938_29114.cpp:16:9: error: 'left' was not declared in this scope
  memset(left, 0, sizeof(left));
         ^
0_0_21598938_29114.cpp:16:30: error: 'memset' was not declared in this scope
  memset(left, 0, sizeof(left));
                              ^
0_0_21598938_29114.cpp:17:23: error: 'G' was not declared in this scope
  for (int i = 1; i <= G; i++) {
                       ^
0_0_21598938_29114.cpp:18:10: error: 'vis' was not declared in this scope
   memset(vis, 0, sizeof(vis));
          ^


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-07-08 16:17:53, Gzip enabled