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_16309623_17209.cpp:57:2: error: 'Node' does not name a type
  Node p[maxn];
  ^
0_0_16309623_17209.cpp: In member function 'void DLX::init(int)':
0_0_16309623_17209.cpp:65:4: error: 'p' was not declared in this scope
    p[i].up=p[i].down=i;
    ^
0_0_16309623_17209.cpp:69:3: error: 'p' was not declared in this scope
   p[0].left=m;p[m].right=0;
   ^
0_0_16309623_17209.cpp: In member function 'void DLX::link(int, int)':
0_0_16309623_17209.cpp:76:3: error: 'p' was not declared in this scope
   p[size].x=row;p[size].y=col;p[col].size++;
   ^
0_0_16309623_17209.cpp: In member function 'void DLX::remove(int)':
0_0_16309623_17209.cpp:88:3: error: 'p' was not declared in this scope
   p[p[c].right].left=p[c].left;
   ^
0_0_16309623_17209.cpp: In member function 'void DLX::resume(int)':
0_0_16309623_17209.cpp:99:3: error: 'p' was not declared in this scope
   p[p[c].left].right=c;
   ^
0_0_16309623_17209.cpp: In member function 'bool DLX::dfs(int)':
0_0_16309623_17209.cpp:112:7: error: 'p' was not declared in this scope
   if (p[0].right==0) {
       ^
0_0_16309623_17209.cpp:118:14: error: 'p' was not declared in this scope
   for (int i=p[0].right;i!=0;i=p[i].right)
              ^
0_0_16309623_17209.cpp:121:14: error: 'p' was not declared in this scope
   for (int i=p[c].down;i!=c;i=p[i].down) {
              ^
0_0_16309623_17209.cpp: In member function 'void DLX::del(int)':
0_0_16309623_17209.cpp:138:14: error: 'p' was not declared in this scope
   for (int i=p[c].down;i!=c;i=p[i].down) {
              ^
0_0_16309623_17209.cpp: In member function 'void DLX::rec(int)':
0_0_16309623_17209.cpp:144:14: error: 'p' was not declared in this scope
   for (int i=p[c].up;i!=c;i=p[i].up) {
              ^
0_0_16309623_17209.cpp: In member function 'int DLX::h()':
0_0_16309623_17209.cpp:152:14: error: 'p' was not declared in this scope
   for (int i=p[0].right;i!=0;i=p[i].right) if (!vis[i]) {
              ^
0_0_16309623_17209.cpp: In member function 'void DLX::DFS(int)':
0_0_16309623_17209.cpp:161:7: error: 'p' was not declared in this scope
   if (p[0].right==0) ans=min(ans,cnt);
       ^


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-16 08:30:42, Gzip enabled