TLE 81 分求助

P3355 骑士共存问题

好像是建边顺序的问题,把 ``` const int D[][2] = {{1, 2}, {2, 1}, {2, -1}, {1, -2}, {-1, -2}, {-2, -1}, {-2, 1}, {-1, 2}}; ``` 改成 ``` int D[8][2] = {{-1, -2}, {-2, -1}, {2, -1}, {1, -2}, {-1, 2}, {-2, 1}, {2, 1}, {1, 2}}; ``` 就能过,具体说明参考 @ reclusive 大佬的讨论区 [这里](https://www.luogu.com/discuss/509408) (我也是被大佬捞上来的%%%)
by Liuboom @ 2024-06-26 16:55:37


@[Liuboom](/user/508086) 谢,此帖结
by plamya @ 2024-07-03 11:51:33


|