Factorial by inaniwa

while n = gets\x0d
  s = 1\x0d
  1.upto(n.to_i){|i|\x0d
    s = s*i\x0d
  }\x0d
  puts s\x0d
end\x0d

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top