这是C艹咯,但是C语言怎么操作呢?
struct per
{
int w;
int s;
bool operator < (const struct per &t) const
{
return w + s < t.w + t.s;
};
}
这是C艹咯,但是C语言怎么操作呢?
struct per
{
int w;
int s;
bool operator < (const struct per &t) const
{
return w + s < t.w + t.s;
};
}