Tag Info

What is the smallest positive base 10 integer that can be printed by a program shorter (in characters) than itself?

Retina, score 1 The empty program counts the number of matches of the empty regex in the input (which is the empty string). That's exactly 1 match, so it prints ...
• 195k

Write Moby Dick, approximately

///, 2*1 + 1020874 = 1020876 Prints a space.
• 18.4k

Write Moby Dick, approximately

Perl, 2·70525 + 326508 = 467558 Predictor ...
• 2,549

Write Moby Dick, approximately

Node.js, 2*224 + 524279 = 524727 Please refer to the change log at the end of this post for score updates. A function taking and returning a byte. ...
• 176k

Write Moby Dick, approximately

Python 3, 2·267 + 510193 = 510727 Predictor ...
• 38.2k

What is the smallest positive base 10 integer that can be printed by a program shorter (in characters) than itself?

Pyth, 10 T First attempt at using Pyth. Having had the question clarified, it seems 10 will be the smallest number. In Pyth the letter T starts off as the number ...
• 4,230
Accepted

Is this even a word?

Ruby, 29 bytes ->s{!s[/[^aeiou]{3}|[jqxz]/]} Hopefully I've got this right - it's my first time programming in Ruby. I actually did all my testing in Python, ...
• 61.3k

What is the smallest positive base 10 integer that can be printed by a program shorter (in characters) than itself?

bc, 10 A Luckily, bc prints the result of the last expression by default. A is interpreted ...
• 70.3k

Write Moby Dick, approximately

Python 3, 2*279+592920=593478 2*250 + 592467 = 592967 2 * 271 + 592084 = 592626 2 * 278 + 592059 = 592615 2 * 285 + 586660 = 587230 2 * 320 + 585161 = 585801 2 * 339 + 585050 = 585728 ...

What is the smallest positive base 10 integer that can be printed by a program shorter (in characters) than itself?

Fishing, score 7,958,661,109,946,400,884,391,936 1,208,925,819,614,629,174,706,176 Is this the highest non-trivial-looking score ever in a minimization challenge? (Even though it has been golfed by 84....
• 7,299

What is the smallest positive base 10 integer that can be printed by a program shorter (in characters) than itself?

MATLAB, 1,000,000,000 (109) Also works with Octave disp(1e9) Never going to beat the esolangs, but just for fun, this is the smallest MATLAB/Octave will be able to ...
• 4,230

What is the smallest positive base 10 integer that can be printed by a program shorter (in characters) than itself?

TI-84 BASIC, 120 5! ᴇ2 would score better if not for the silly UTF-8 requirement. (It's only two bytes in the calculator's ...
• 11.8k

What is the smallest positive base 10 integer that can be printed by a program shorter (in characters) than itself?

Hexagony, score 100100 Code: d!!@ In a more readable form: d ! ! @ . . . The char value of ...
• 43.9k

• 3,428