Skip to main content
3 events
when toggle format what by license comment
Sep 19, 2020 at 15:22 history edited Manfred Weis CC BY-SA 4.0
provided an algorithm idea
Sep 17, 2020 at 20:46 comment added fedja Well, that's formally true, but I believe that the OP won't be much dissatisfied with an algorithm giving the error of $5$ instead of $1$ in the first case and definitely you are not prohibited to add some more pixels in the second case: the drawing is not assumed to be the most economical one :-)
Sep 17, 2020 at 17:25 history answered Manfred Weis CC BY-SA 4.0