Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Switching submission to base36-int-arithmetic-compression-bit-indexing.

Code comes from d4cb714.
  • Loading branch information...
commit 16e3413e7d40d7a6afd0d449114344319ddc0708 1 parent eec9607
@torsten torsten authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 t0rsten.rb
View
9 t0rsten.rb
@@ -1,2 +1,7 @@
-i='ejqrs7hw9f6skddrj9z0p5zw8ehxd7ffrozm80btcl8'.to_i 36
-3.times{37.times{putc' |-_'[i&3];i/=4};puts}
+%w|wuby3lk5w 8qlndm7g2r 99d4giitef|.map{|x|t=4**25;b,s=0,t
+25.times{
+s/=4
+b+=s*i=(x.to_i(36)-b)/s
+t=b+s
+putc' _-|'[i]}
+puts} #euruko-golf
Please sign in to comment.
Something went wrong with that request. Please try again.