在while的上一行加一条
`a[m+1]=d;`试试
by Panthera_AFO @ 2018-10-17 19:17:32
此人已经ac。。。
by bezel @ 2018-10-17 19:36:54
@[Panthera](/space/show?uid=55868) 谢谢,已经AC了
by 醉了酒的李白 @ 2018-10-18 09:40:01