struct node
{
int first, second;
friend bool operator < (node a, node b)
{
return a.first > b.first;
}
}jl;
结构体内部排序(自定义重载运算符)
阅读 70
2022-02-09
struct node
{
int first, second;
friend bool operator < (node a, node b)
{
return a.first > b.first;
}
}jl;
相关推荐
精彩评论(0)