我按颜色和序号进行的排序,不同的排序会得到正确或者错误的答案((
struct node { ll col, num, sor; bool operator < (const node b)const{ if (this->col == b.col) return this->sor < b.sor; else return this->col < b.col; } }e[maxn];
求指导