- or download this
r=*$<;'XXXXXXXXXXXX'.each_byte{|i|$><<"%#{327%i/9}c"%
'ohmx'[1>>(i-r.to_i)%12^2&2<<i%12-r[3,2].to_i/5]+$/*(i/85)}
- or download this
1>>(i-r.to_i)%12^2&2<<i%12-r[3,2].to_i/5
- or download this
1>>(i-h)%12^2&2<<i%12-m
- or download this
# Search for Ruby solutions by building expressions from the sym
# and numsymop arrays below, then evaluating them (via eval).
...
end
end
end
- or download this
woohoo: ~m%i%12/11: veq=1 vneq=0
- or download this
(i-h)%12/~i
- or download this
1>>(i-h)%12^2&2<<i%12-m # original
(i-h)%12/~i^~m%i%12/11 # new and improved
- or download this
r=*$<;'XXXXXXXXXXXX'.each_byte{|i|$><<"%#{327%i/9}c"%
'hxmo'[(i-r.to_i)%12/~i^~r[3,2].to_i/5%i%12/11]+$/*(i/85)}
- or download this
r=*$<; r r[3,2] # original
gets;~/:/; $_ $' # new
- or download this
gets;'XXXXXXXXXXXX'.each_byte{|i|$><<"%#{327%i/9}c"%'ohmx'[1>>(i-$_.to
+_i)%12^~/:/&2<<i%12-$'.to_i/5]+$/*(i/85)}
- or download this
(i-int(r[:2]))%-12/42
- or download this
(i-int(r[:2]))%-12/i
- or download this
_=raw_input()
for c in'XXXXXXXXXXXX':n=ord(c);print 3459%n/9*' '+'ohmx'[n%13==int(_[
+:2])%12::2][n%13==int(_[3:])/5]+n%3*'\n',
- or download this
_=raw_input()
for c in'XXXXXXXXXXXX':n=ord(c);print 247%n/7*' '+'ohmx'[n%12==int(_[:
+2])%12::2][n%12==int(_[3:])/5]+n/72*'\n',
- or download this
[(i%12==int(r[3:])/5)^(i-int(r[:2]))%-12/42]
[-(i%12==int(r[3:])/5)^1>>(i-int(r[:2]))%12]
[i%12==int(r[3:])/5::2][i%12==int(r[:2])%12]
[i%12==int(r[3:])/5::2][1>>(i-int(r[:2]))%12]