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_27779228_8263.cpp:33:19: error: 'Maxnode' was not declared in this scope
     int ansd, ans[Maxnode];
                   ^
0_0_27779228_8263.cpp: In member function 'bool DLX::Dance(int)':
0_0_27779228_8263.cpp:100:20: error: no match for 'operator=' (operand types are 'put' and 'int')
             ans[d] = Row[i];
                    ^
0_0_27779228_8263.cpp:100:20: note: candidates are:
0_0_27779228_8263.cpp:21:8: note: put& put::operator=(const put&)
 struct put
        ^
0_0_27779228_8263.cpp:21:8: note:   no known conversion for argument 1 from 'int' to 'const put&'
0_0_27779228_8263.cpp:21:8: note: put& put::operator=(put&&)
0_0_27779228_8263.cpp:21:8: note:   no known conversion for argument 1 from 'int' to 'put&&'
0_0_27779228_8263.cpp: In function 'int main()':
0_0_27779228_8263.cpp:157:25: error: 'struct DLX' has no member named 'ans'
                 p[ans[g.ans[i]].i].s=ans[g.ans[i]].s;
                         ^
0_0_27779228_8263.cpp:157:44: error: 'struct DLX' has no member named 'ans'
                 p[ans[g.ans[i]].i].s=ans[g.ans[i]].s;
                                            ^
0_0_27779228_8263.cpp:158:25: error: 'struct DLX' has no member named 'ans'
                 p[ans[g.ans[i]].i].e=ans[g.ans[i]].e;
                         ^
0_0_27779228_8263.cpp:158:44: error: 'struct DLX' has no member named 'ans'
                 p[ans[g.ans[i]].i].e=ans[g.ans[i]].e;
                                            ^


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-24 14:15:06, Gzip enabled