As the title says, your task is to print the largest string using the shortest code without taking any input value.
Rules
The program must take no input and print the largest string to STDOUT
The string must contain only ASCII Characters. If you don't know the ASCII Characters, take a look at the table
No Loops are allowed
No multiplication, exponentiation or any kind of elevation is permitted.
The score is measured by subtracting the amount of bytes of your code to the amount of bytes of your string. Example. My code is
60
Bytes and it generates an string of300
Bytes. My score will be300-60=240
The highest score wins.
Example
try{a.b}catch(e){alert(e)}
The output of my program is ReferenceError: a is not defined
= 32 bytes
My Score will be 32-26
= 6
Update
By Loops i mean any repetitive structure. For example for
, while
, do while
, recursive functions
etc..
yes
by definition has ∞ output, though is not explicitly a loop in the shell language. Allowed? \$\endgroup\$ – Digital Trauma Mar 14 '18 at 18:52P
scoresS
, then you can construct a program that scores2*S
by repeating the source ofP
twice. \$\endgroup\$ – recursive Mar 14 '18 at 19:53