CMC Given an image, output the width of the margin on each side [top, right, bottom, left] The margin is the biggest solid rectangular region extending from each side with the same color as the top left pixel. There is guaranteed to be at least 1px margin on each side.
ahh, ap tests. taken at a time when i was somehow still not at my stress maximum during my education (that was junior year in college) passed cs with a 4, physics 1 with a 3, failed spanish and chinese lmao
Yeah, hang on, I'll make an ATO link with a couple of examples, including having the margin colour appear in the middle, and on ATO we also avoid the spurious Boolean result.