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]);
^
|