Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
当
i
等于零时,然后值[i-1] [j]
是向量上的范围访问。当
i
等于r-1
,然后值[i+1] [j]
是向量上的范围访问。对于
J
,存在类似的错误。When
i
equals zero thenvalues[i-1][j]
is an out of bounds access on your vector.When
i
equalsR-1
thenvalues[i+1][j]
is an out of bounds access on your vector.Similar errors exist for
j
.