64,654
社区成员
发帖
与我相关
我的任务
分享
bool operator<(Cell const& x, Cell const& y);
bool operator>(Cell const& x, Cell const& y);
bool operator<(Cell const& x, Cell const& y) {
if(x.fValue < y.fValue) {
return true;
} else {
return false;
}
};
bool operator>(Cell const& x, Cell const& y) {
if(x.fValue > y.fValue) {
return true;
} else {
return false;
}
};