Re: Euphoria sucks at golfing
- Posted by mattlewis (admin) May 08, 2014
- 2183 views
This gets down to 130:
object o=and_bits(gets(0),#DF),l="LLAMA",x=0,y={} for i=1 to 5 do x=find(l[i],o,x+1)if x=0 then ?{}abort(0)end if y&=x end for ?y
Readable:
object o = and_bits(gets(0),#DF), l="LLAMA", x=0, y={} for i=1 to 5 do x=find(l[i],o,x+1) if x=0 then ?{} abort(0) end if y &= x end for ?y

