0_0_28295466_29774.cpp: In function 'bool same(int, int)':
0_0_28295466_29774.cpp:39:7: error: request for member 'cost' in 'x', which is of non-class type 'int'
if(x.cost != y.cost){
^
0_0_28295466_29774.cpp:39:17: error: request for member 'cost' in 'y', which is of non-class type 'int'
if(x.cost != y.cost){
^
0_0_28295466_29774.cpp:42:12: error: request for member 'flag' in 'x', which is of non-class type 'int'
return x.flag < y.flag;
^
0_0_28295466_29774.cpp:42:21: error: request for member 'flag' in 'y', which is of non-class type 'int'
return x.flag < y.flag;
^
|