因为你没有考虑到一种情况 if(arr[i])==a[i-1] continue
点赞 评论

相关推荐

牛客网
牛客企业服务