155
votes
146
votes
Paint Starry Night, objectively, in 1kB of code
Pyth (no built-in compression), score 4695.07 4656.03 4444.82
Pyth’s only image-related functionality is a builtin to write a matrix of RGB triples as an image file. So the crazy idea here is to ...
123
votes
Without using numbers, get the highest salary you can. But don't exaggerate!
bash, $127127
x;echo \$$?$?
Try it online!
Since the x command doesn't exist, it errors and sets the exit code to ...
112
votes
105
votes
Accepted
Build a Markdown bomb
Blockquotes, 137,469/256 = 536.99
6,908 characters, 511 new lines, 130,050 spaces
Markdown sure handles nested block-quotes oddly. Each > character gets turned ...
103
votes
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.
...
80
votes
Without using numbers, get the highest salary you can. But don't exaggerate!
Java 8, $131,199.00 (15 bytes)
v->"$"+'e'*'ԓ'
Try it online.
Explanation:
...
79
votes
68
votes
Eww, those bytes are gross
Japt -P, score: 255 (2 bytes)
ff
f => filter, second f => everything but 'f'
Try it ...
64
votes
63
votes
Build a Markdown bomb
MathJax, 529\$\,\$252\$\,\$640ish / 256 ≈ 2\$\,\$067\$\,\$393
A good old thousand-laughs-style code
...
57
votes
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
...
57
votes
57
votes
Reserved JavaScript
43 words, 603 bytes
Uhm, is this a loophole? I have no idea how the hell this is legal JS, but it works and it uses every single keyword.
...
52
votes
Without using numbers, get the highest salary you can. But don't exaggerate!
CJam, (5 bytes) $294204.018...
'$PB#
Try it online!
Explanation:
I derived it from Dennis' answer, but looked for combinations of numbers which would yield a ...
50
votes
Accepted
Minimally destroy CGCC in Game of Life
Score 1, 35 generations
Sorry, but I guess I wrecked the challenge. I brute-forced all meaningful one-dot additions by hand, and found no other answer that wins against this.
Raw ASCII format
...
48
votes
Without using numbers, get the highest salary you can. But don't exaggerate!
CJam, 5 bytes, $262'144
'$YI#
Try it online!
How it works
...
46
votes
Accepted
44
votes
Hast Thou Slain the Jabberwock?
oOo CODE, score 0
Thanks to Dennis for golfing the Brainfuck code.
...
43
votes
Without using numbers, get the highest salary you can. But don't exaggerate!
R, 20 bytes, $103540.9
T=pi+pi;cat("$",T^T)
Try it online!
The max for 20 bytes is ...
41
votes
Accepted
Hello World in Multiple Languages
23 Befunges, 713 bytes
The only language I really know is Befunge, so instead of multiple languages, I've just gone with multiple implementations of Befunge. I believe this is still valid under PPCG ...
41
votes
Accepted
Hell0 W0rld! scored by ASCII values
Lenguage, score 0
Well, this is quite boring and obvious, but it seems to achieve the perfect score (assuming I understand the challenge correctly). To fix this loophole, you should probably add the ...
40
votes
Accepted
Mutually Exclusive Quines
><>, Score: 41+41 = 82
Edit: both contained a 3. Fixed
'd3*}>a!o-!<<8:5@lI55>@z:5ll55>>q:>|q::|,
and
...
40
votes
38
votes
36
votes
36
votes
Without using numbers, get the highest salary you can. But don't exaggerate!
GS2, (5 bytes) $292,929
•$☺↔A
A full program (shown here using code-page 437). (Maximum achievable salary @ 5 bytes is $299069.75)
Try it online!
Builds upon ...
35
votes
Fastest yes in the west
Bash, 3 bytes, 1.9 GB/s
yes
Try it online!
Admittedly this is a troll solution, but the rules do not explicitly forbid it, and it should get you a value close to ...
35
votes
Orientation Oriented Programming
05AB1E, 5 14 15 18 rotations (5 6 7 8 unique, 61 213 1488 4367 bytes)
...
35
votes
Find the HTTP status code
Node.js, 135 126 125 123 bytes, score 40
Saved 2 bytes by using unprintable characters, as suggested by @dingledooper
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
code-challenge × 912math × 79
string × 72
restricted-source × 72
optimization × 62
source-layout × 49
number × 46
quine × 43
kolmogorov-complexity × 38
compression × 38
polyglot × 37
test-battery × 33
game × 32
sequence × 30
code-golf × 29
code-generation × 29
busy-beaver × 29
primes × 26
ascii-art × 24
cops-and-robbers × 24
combinatorics × 21
graphical-output × 21
fastest-code × 21
sorting × 19
geometry × 17