Skip to content

Instantly share code, notes, and snippets.

@wsuzume
Created June 3, 2018 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wsuzume/766425c49c6e46e144e5835ac2348246 to your computer and use it in GitHub Desktop.
Save wsuzume/766425c49c6e46e144e5835ac2348246 to your computer and use it in GitHub Desktop.
i=
_am=
stair=
_maker_=
eval(s=%q[
eval(%q[def_
stair(s)_if_AR
GV.size()==0_the
n_10.upto(50)_do_|
i|_puts(s.slice!(0,i
).ljust(i,35.chr))_if_
i.even?_&&_!s.empty?_end
_else_lines=$stdin.readlin
es;eval(code=lines.join().gs
ub(10.chr,'').gsub(35.chr,''))
;eval(code)_end_end].gsub(95.chr
,32.chr));puts("i=");puts("_am=");
puts("stair=");puts("_maker_=");stai
r(%[eval(s=%q[#{s}])].gsub(10.chr,''))
].gsub(10.chr,''))######################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment