不开O2也不能吧
![majsoul: 4](https://cdn.jsdelivr.net/gh/BoringHacker/cdn/emojis/majsoul/maj-4.png)
by Wildcxj @ 2021-08-03 17:15:12
@[Wildcxj](/user/349906) 不开O2可以过,开了O2越界就RE
by 想吃小熊饼干 @ 2021-08-03 17:20:16
emm 那就不开O2 ![majsoul: 4](https://cdn.jsdelivr.net/gh/BoringHacker/cdn/emojis/majsoul/maj-4.png)
by Wildcxj @ 2021-08-03 17:25:48
……数组越界属于UB,会发生什么看编译器心情。
[关于UB](https://studyingfather.blog.luogu.org/undefined-behavior)
by StarLbright40 @ 2021-08-03 17:26:20
@[想吃小熊饼干](/user/485688) 呃,开了O2就RE。那说明你的代码可能真的有问题。越界的话数组开大点。这题有坑,数组得开到21才够用。
by 林志艺 @ 2021-08-15 15:42:32