Black and White Loop 2
(Published on 16. January 2012, 22:17 by rob)
Draw a loop that passes between cell centres horizontally and vertically and that visits every cell. Between two circles of the same colour, the loop must not turn, while it must turn exactly once between two circles of different colours.
Solution code: For each row, the number of cells that the longest horizontal loop part visits.
Solved by Dandelo, relzzup, ibag, Rollo, deu, debmohanty, Luigi, Katrin K, Ifjutitan, rimodech, saskia-daniela, Laje6, Realshaggy, hopppe, zorant, Alex, zuzanina, pin7guin, ffricke, ch1983, Mathi, sinchai4547, ... Kekes, cornuto, jirk, adam001, pirx, r45, matter, PRW, AnnaTh, Oskama, Joo M.Y, SilBer, Uhu, Joe Average, tuace, NikolaZ, ildiko, sf2l, Matt, skywalker, amitsowani, misko, EKBM, Raistlen, cdwg2000