@[xiaoshi_dada](/user/567570) 您的重载运算符没有返回值
```cpp
……
struct node{
int dis;
int pos;
bool operator <(const node &x)const
{
return x.dis<dis;
// ^要有return
}
};
……
```
by ccxswl @ 2023-01-11 18:26:08