Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Used for challenges where answers make reference to themselves or their characteristics, such as length or character values. Since this is a subset of the [quine] tag, many of the same restrictions apply by default, such as not reading your own source code.
2
votes
Create output twice the length of the code
MathGolf, 5 - 25 = -20 bytes
╜2╩[*
Try it online!
Explanation
╜2 If not implicit input, push 2
╩[ Push dictionary word "great"
* Repeat string
To make it work, I just had to fin …
1
vote
Output with the same length as the code
MathGolf, 1 byte
!
Try it online!
For MathGolf, there is an implicit pop if nothing is on the stack and nothing is in the input. The operator will pop the default value for the type it's requestin …
3
votes
Output your Score!
MathGolf, 9 bytes
G½ "bytes
Try it online!
Explanation
Quite simple really
G Push 18
½ Halve the result, giving 9
Push a space character
"bytes Push "byt …
6
votes
Without using numbers, get the highest salary you can. But don't exaggerate!
MathGolf, $353535 (4 bytes)
'$W∙
Try it online!
Explanation
'$ Push "$"
W Push 35
∙ Triplicate top of stack
Disclaimer
This language was created after the posting of this question. …
1
vote
Without using numbers, get the highest salary you can. But don't exaggerate!
GS2, 4 bytes ($256256)
•$▼▼
Try it online!
Just thought I'd add this as there were no 4 byte solutions. There are probably better solutions of 4 bytes, it'd be interesting to see what the highest …
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 higher result. I almost gave up, but …