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_33257671_2922.cpp: In member function 'bool DancingLink::dfs(int)':
0_0_33257671_2922.cpp:40:14: error: return-statement with no value, in function returning 'bool' [-fpermissive]
   if(flag>1) return;
              ^
0_0_33257671_2922.cpp:42:23: error: return-statement with no value, in function returning 'bool' [-fpermissive]
    flag++; if(flag>1) return;
                       ^
0_0_33257671_2922.cpp:43:4: error: 'ansd_real' was not declared in this scope
    ansd_real = d;
    ^
0_0_33257671_2922.cpp:44:27: error: 'A_real' was not declared in this scope
    for(int i=0; i<d; i++) A_real[i] = A[i];
                           ^
0_0_33257671_2922.cpp:45:4: error: return-statement with no value, in function returning 'bool' [-fpermissive]
    return;
    ^
0_0_33257671_2922.cpp: In function 'int decode()':
0_0_33257671_2922.cpp:67:21: error: 'struct DancingLink' has no member named 'ansd_real'
  for(int i=0; i<dlx.ansd_real; i++) {
                     ^
0_0_33257671_2922.cpp:68:15: error: 'struct DancingLink' has no member named 'A_real'
   int r = dlx.A_real[i];
               ^
0_0_33257671_2922.cpp: In function 'int main()':
0_0_33257671_2922.cpp:140:14: error: 'struct DancingLink' has no member named 'ansd_real'
   flag = dlx.ansd_real = 0;
              ^
0_0_33257671_2922.cpp:144:10: error: 'struct DancingLink' has no member named 'ansd_real'
   if(dlx.ansd_real == 0)
          ^


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-23 02:38:10, Gzip enabled