@[PassionOfLife](/user/1000268)
数据没有问题。您的链式前向星数组开小了。
```cpp
const int N = 105;
const int M = N*N;
int h[N], e[M], ne[M], idx;
```
写成这样就可以过
by ReTF @ 2023-10-01 17:26:37
要是有165那不是RE吗?
by modfisher @ 2023-10-01 17:26:57
@[ReTF](/user/578628) 谢谢大佬!!!
by PassionOfLife @ 2023-10-02 13:34:13