Re: Euphoria sucks at golfing

new topic     » goto parent     » topic index » view thread      » older message » newer message

Not tested this one ...

object T = lower(gets(0)), 
       X = {} 
	    
X &= find('l', T) 
X &= find('l', T, X[$]+1) 
X &= find('a', T, X[$]+1) 
X &= find('m', T, X[$]+1) 
X &= find('a', T, X[$]+1) 
 
if find(0, X) then 
   X = {} 
end if 
return X 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu