Hello Danny! [EMAIL PROTECTED] (Danny Rathjens) wrote: > Jasper McCrea wrote: >>>Easy one ("Ordered fractions") will be finished on 2002-09-19 10:00:00 UTC >> I think we should have an explanation of your 71. > > He encoded the whole list of answers like so: > then he just loops through that list of chars
Yep, basically description is right. ord=~/^[1-@ARGV]/&&print"$'/$& "for"[QG=3\\)H\37S4I^\25_J5U K+a6ALWb\13"=~/./g (in original code all \number things are replaced by hardcoded asciis, so the final length is 71) Table approach is known for golf (check also Ton's Maxigolf 1 "Stones" at http://www.xs4all.nl/~thospel/golf/maxigolf1.html ), so i decided to try it. 'normal' order, chr (first_digit * 10 + second_digit) gives value with ascii code 13 that could cause problems anywhere with copying/pasting, so opposite order was used. Needless to say, Ton's winning solution is much more interesting. It reveals darkest corners of mystical @{ } constuct, and shows secret ways of alien's mind operations. --- Mtv Europe