@[oiyang](/user/856309) 数组越界,你 head 开 maxnode,下面 init 循环还到 maxnode 大小。改成 < 就好了。
by LgxTpre @ 2023-05-16 15:20:04
@[LgxTpre](/user/66709) 第六十行 `for(int i=0;i<maxnode;i++)`
by LgxTpre @ 2023-05-16 15:20:36
@[LgxTpre](/user/66709)
懂了!感谢!
by oiyang @ 2023-05-16 15:25:11