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_18085555_4196.cpp: In function 'int dfs(int)':
0_0_18085555_4196.cpp:4:11: error: 'head' was not declared in this scope
  for(tp = head[x]; y = spot[tp],tp; tp = nex[tp])
           ^
0_0_18085555_4196.cpp:4:24: error: 'spot' was not declared in this scope
  for(tp = head[x]; y = spot[tp],tp; tp = nex[tp])
                        ^
0_0_18085555_4196.cpp:4:42: error: 'nex' was not declared in this scope
  for(tp = head[x]; y = spot[tp],tp; tp = nex[tp])
                                          ^
0_0_18085555_4196.cpp:5:7: error: 'v' was not declared in this scope
   if(!v[y]) {
       ^
0_0_18085555_4196.cpp:7:7: error: 'my' was not declared in this scope
    if(my[y]==-1 || dfs(my[y]))
       ^
0_0_18085555_4196.cpp:9:5: error: 'mx' was not declared in this scope
     mx[x] = y; my[y] = x;
     ^
0_0_18085555_4196.cpp: In function 'int match()':
0_0_18085555_4196.cpp:19:9: error: 'mx' was not declared in this scope
  memset(mx, -1, sizeof(mx));
         ^
0_0_18085555_4196.cpp:19:27: error: 'memset' was not declared in this scope
  memset(mx, -1, sizeof(mx));
                           ^
0_0_18085555_4196.cpp:20:9: error: 'my' was not declared in this scope
  memset(my, -1, sizeof(my));
         ^
0_0_18085555_4196.cpp:21:16: error: 'm' was not declared in this scope
  for(i = 1; i<=m; i++)
                ^
0_0_18085555_4196.cpp:24:10: error: 'v' was not declared in this scope
   memset(v,0,sizeof(v));
          ^


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-05 09:43:23, Gzip enabled