为什么这个代码数组越界了,还能对

P1002 [NOIP2002 普及组] 过河卒

@[Lalenture](/space/show?uid=58381) 没越界啊
by WA鸭鸭 @ 2018-08-30 15:35:46


@[WA鸭鸭](/space/show?uid=93249) 从1开始,减了2,没越界吗?
by Lalenture @ 2018-09-01 13:38:41


@[Lalenture](/space/show?uid=58381) 负的不会RE,会跑到数组右边,所以开成23
by WA鸭鸭 @ 2018-09-01 14:09:17


@[WA鸭鸭](/space/show?uid=93249) 哦 谢谢
by Lalenture @ 2018-09-01 18:52:11


|