Code golf, being about exploiting things, often brings about many questions about edge cases. Since we don't want each challenge to have to deal with all problems again and again, it makes sense to...
3 answers
·
posted 5y ago
by dzaima
· last activity
2y ago
by Hackysack
Don't require example code
In general, I believe the decision should be on the challenge creator. Requiring it would be useless for certain types of challenges (kolmogorov-complexity or similar), ...
Challenge
Write as many functions, programs, or snippets of code, that result in 256. Your score is the number of separate solutions submitted in an answer.
The challenge? The characters used in ...
12 answers
·
posted 5y ago
by dzaima
· last activity
4y ago
by snail_
The answer header must specify the minimum implementation & environment required
If there are multiple implementations of a language and an answer depends on features of one, it must be specif...
Canvas, 17 11 bytes
Z2n⤢J{×7«mT
Try it here!
Z The alphabet
2n split into pairs: ["AB","CD","EF",…]
⤢ transposed: ["ACEGI…","BDFHJ…"]
J remove and pu...
BQN, 5 bytes
1+⊒
Try it here!
3 characters, but, as there's no SBCS codepage for BQN, it must be counted as UTF-8.
Two of the three characters are just adding one to the built-in that almost ...
Challenge
Write as many functions, programs, or snippets of code, that result in 256. Your score is the number of separate solutions submitted in an answer.
The challenge? The characters used in ...
Challenge
Given a multiline string, list of lines, a character matrix or equivalent, and a description of a line, draw a line made out of either '|' or '-' over it.
The given text will consist of...
If there exists something (reasonable) that can run it, it's valid.
This includes obscure, non-standards-compliant compilers (though this should be specified in the answer if needed). So any poste...