https://www.luogu.com.cn/article/ecppsp41 有误,answer 没有返回值。
answer
https://www.luogu.com.cn/discuss/849332 神帖和 https://www.luogu.com.cn/discuss/849358 帖子都支持了这个观点,所以我看了一下题解好像确实是这样的,没有测试。