我也不知道为啥,反正后来我原来数组是new int[n]改成new int[n+1]就过了,很迷惑
点赞 评论

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务