Please redraw the picture for us, using as few strokes as possible. Make sure to stay inside the lines!
|
![]() http://en.wikipedia.org/wiki/Line_art Paul_Gustave_Dore_(1832-1883)_-_Baron_von_Munchhausen_(1862)_-_009.jpg |
x1 y1 x2 y2
X is a horizontal pixel coordinate, 0 the leftmost column, growing towards the right. Y is a vertical pixel coordinate, 0 the topmost row, growing towards the bottom. Coordinates may not fall outside the image.
Starting with a white canvas, each line will draw a black line from x1 y1 to x2 y2, inclusive, using Bresenham's integer arithmetic line drawing algorithm (as described on Wikipedia). The output image must be identical to the input image.
SCORE = 100*(1 - sqrt(1 - BEST/LINES))