Ruby program with the largest ratio of output length to program length
Posted
by Horace Loeb
on Stack Overflow
See other posts from Stack Overflow
or by Horace Loeb
Published on 2010-04-13T16:18:53Z
Indexed on
2010/04/13
16:23 UTC
Read the original article
Hit count: 376
The program print "hi"
contains 10 characters and outputs a string with length 2. Therefore its ratio of output length to program length is 2/10.
My question is what Ruby program has the largest output length to program length ratio
(For program length let's only count non-whitespace characters (i.e., it's easy to minify a program))
© Stack Overflow or respective owner