Gasyori100knock icon indicating copy to clipboard operation
Gasyori100knock copied to clipboard

about cpp code of Q26

Open zjyjshtxdy opened this issue 4 years ago • 1 comments

In line 41 there is " dx * dy * img.atcv::Vec3b(y_before + 1, x_before)[c]" which should have been " dx * dy * img.atcv::Vec3b(y_before + 1, x_before)[c] + 1",THE “+1” is forgotten. And in line 28 AND in line 33 the COEFFICIENT in function MIN() had better being "width - 2" otherwise it will cross the border and throw error.

zjyjshtxdy avatar Jul 24 '20 09:07 zjyjshtxdy

@zjyjshtxdy

Thank you! Sorry, I finished supporting to c++ answer.

yoyoyo-yo avatar May 04 '21 23:05 yoyoyo-yo