When I run my implementation of resize.c in check50, there are two "TODO's" in red at the bottom of some sections. Does anyone know what this means? (My programs output is identical to the staff's implementation, verified with diff)

check50: https://sandbox.cs50.net/checks/98ab66be976a438bbf5de8332221481f

1 Answer 1


Your files are failing to match in those cases. Given that they are fine when n is 4 or n is 2, that points to a padding problem. (because in those tests, the scanlines are already factors of 4, so there is no padding.)

Test again using small.bmp resized by 3.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .