@[徐先生](/space/show?uid=81512)
将你的$dir$数组改成这样:
```
Before:int dir[8][2]={{1,0},{1,1},{0,1},{-1,1},{-1,0},{-1,-1},{0,-1},{1,-1}};
After :int dir[8][2]={{1,0},{1,1},{0,1},{-1,1},{-1,0},{-1,-1},{1,-1},{0,-1}};
```
即将最后的{1,-1}与{0,-1}调换,我也不知道为什么,但就是对了。好玄学。
by la_un_ty @ 2019-03-15 13:26:38
@[我不是人造革](/space/show?uid=138061) 神学牛逼 (~~?_ ?~~)
by 木頭 @ 2019-05-17 20:12:13