In article <3D489DD0.31941.3D979FD@localhost>, "Markus Laire" <[EMAIL PROTECTED]> writes: > My first post here, and also first try in golfing so this isn't too good ;) > > $/=pop;$,=pop;for$i(0..15){ > ($_=sprintf'%04b',$i)=~s/(.)(.)(.)(.)/$1$2\n$3$4\n/; > y/01/.O/,print,last,if$/eq$1+$2.($3+$4)&&$,eq$1+$3.($2+$4)} > > btw, how is the score calculated? > Get a counting program at http://www.xs4all.nl/~thospel/golf/golfcount.pl, General golf rules are at http://www.xs4all.nl/~thospel/golf/rules.html
Don't look around too much in that directory unless you want to find the list of solutions to this problem though.
