论本该RE的点为什么WA了

P1303 A*B Problem

_OJF_ @ 2020-11-27 23:03:48

数组开小了导致#5没过(改过来了),但数组开小不应该是越界导致RE吗?为什么会WA呢?


by NobodyThere @ 2020-11-27 23:43:10

洛谷的特性


by NobodyThere @ 2020-11-27 23:44:51

因为洛谷越界是直接不储存,调用时直接判断为 0


by NobodyThere @ 2020-11-27 23:46:14

应该说是越界不储存,调用时算作 0 来调用


by NobodyThere @ 2020-11-27 23:47:21

@chengzhiyu蒻蒟


by justinjia @ 2020-12-19 13:39:13

@chengzhiyu蒻蒟 数组越界不会RE的。


|