Gasyori100knock
Gasyori100knock copied to clipboard
about cpp code of Q26
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
Thank you! Sorry, I finished supporting to c++ answer.