数组初始化要从1到m,因为你的数组是用来判断这个地方有没有种树的,不是看有几个区间种树 by Steve_xh @ 2023-10-22 15:38:38
@[Steve_xh](/user/639198) 谢谢大佬 谢谢大佬 by holypl @ 2023-10-24 14:53:54