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_29051065_19794.cpp: In member function 'bool Node::operator<(const Node&) const':
0_0_29051065_19794.cpp:13:79: error: expected ')' before ';' token
   return (setBits != b.setBits ? setBits < b.setBits : resetBits < b.resetBits;)
                                                                               ^
0_0_29051065_19794.cpp:13:80: error: expected primary-expression before ')' token
   return (setBits != b.setBits ? setBits < b.setBits : resetBits < b.resetBits;)
                                                                                ^
0_0_29051065_19794.cpp: In function 'int getState(const Node&, const Node&, int)':
0_0_29051065_19794.cpp:67:19: error: 'const struct Node' has no member named 'mat'
             if(nd.mat[i][j] == des.mat[i][j]) {
                   ^
0_0_29051065_19794.cpp:67:36: error: 'const struct Node' has no member named 'mat'
             if(nd.mat[i][j] == des.mat[i][j]) {
                                    ^
0_0_29051065_19794.cpp: In function 'int main()':
0_0_29051065_19794.cpp:87:31: error: 'des' was not declared in this scope
         doOneStep(vecOneStep, des, n);
                               ^
0_0_29051065_19794.cpp:90:18: error: 'src' was not declared in this scope
         que.push(src);
                  ^
0_0_29051065_19794.cpp:101:27: error: 'struct Node' has no member named 'mat'
                         v.mat[i][j] = (ele.mat[i][j] ? ele.mat[i][j] : nd.mat[i][j]);
                           ^
0_0_29051065_19794.cpp:101:44: error: 'struct Node' has no member named 'mat'
                         v.mat[i][j] = (ele.mat[i][j] ? ele.mat[i][j] : nd.mat[i][j]);
                                            ^
0_0_29051065_19794.cpp:101:60: error: 'struct Node' has no member named 'mat'
                         v.mat[i][j] = (ele.mat[i][j] ? ele.mat[i][j] : nd.mat[i][j]);
                                                            ^
0_0_29051065_19794.cpp:101:75: error: 'struct Node' has no member named 'mat'
                         v.mat[i][j] = (ele.mat[i][j] ? ele.mat[i][j] : nd.mat[i][j]);
                                                                           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 21:36:07, Gzip enabled