66 votes

Let's allow newer languages/versions for older challenges

Trust the community and add a standard loophole I think the community can handle the add-a-builtin problem (I may be very wrong). I think that if someone adds a feature to their language that is ...
MD XF's user avatar
  • 13.9k
61 votes

Loopholes that are forbidden by default

Abusing native number types to trivialize a problem It is common practice to restrict challenges to cases where input, output and/or intermediate values of the algorithm of choice fit into the ...
59 votes
Accepted

When can APL characters be counted as 1 byte each?

GNU APL and ngn/apl use UTF-8, so use a byte counting tool. NARS2000 only uses UCS-2, so 2 bytes per character. IBM's APL2 is the only modern APL that natively supports APL EBCDIC, so 1 byte per ...
Adám's user avatar
  • 30.2k
41 votes

Loopholes that are forbidden by default

URL shorteners / shortened URLs Every once in a while, we get a challenge that requires fetching some data from the internet. While some of them manage to ban URL shorteners in time, other don't. I ...
40 votes

Definite policy about duplicate answers

Allow duplicate answers I think we shouldn't take action against duplicate submissions, even when the code is identical. We should assume good faith: the second submitter almost surely came up with ...
xnor's user avatar
  • 145k
38 votes

Loopholes that are forbidden by default

When consistent and distinct values are asked as input, you cannot input complete or partial functions When I create a challenge and ask for a boolean or two '...
37 votes

Is a proof of impossibility allowed as an answer?

This is my opinion: If the proof of impossibility is trivial, offer it as a comment and hope the OP revises their question or deletes it. If they don't, it should be closed as "unclear what you're ...
N. Virgo's user avatar
  • 7,264
35 votes

Loopholes that are forbidden by default

Outputting an expression instead of a number For example, outputting 3*3 instead of 9, or outputting ...
32 votes

Loopholes that are forbidden by default

Improper quines We've reached consensus on what counts as a proper quine over a year ago, yet the occasional "quine" that consists of nothing more than literals and/or NOPs still comes up. ...
32 votes
Accepted

How should vim answers be scored?

vim answers can be run from the command line as such: ...
Doorknob's user avatar
  • 71.5k
32 votes
Accepted

Multiple answers in a single post

No, this is not acceptable xnor's proposal to combine equivalent trivial answers talks about solutions that are just a built-in. None of the answers in the post you mention are just rather; they all ...
Dennis's user avatar
  • 210k
31 votes

Can serious contenders do more than the challenge asks for?

Serious contenders do not contain superfluous code I propose the following: If a part or multiple parts of the code can be deleted without affecting its functionality with regard to the challenge ...
Dennis's user avatar
  • 210k
30 votes
Accepted

Is it permitted for a submission to terminate merely with probability 1?

Yes Banning submissions that work with a probability of 1 removes the option of rejection sampling which is an approach that already has been used countless times.
flawr's user avatar
  • 43.8k
28 votes
Accepted

Programming in Minecraft (Redstone) - how to measure program size?

There is now an MC Standard for bytecount. With the 1.10 update, they introduced a block called the "structure block", which creates a .nbt file representing a structure in its entirety that can be ...
Addison Crump's user avatar
28 votes

Should we combine answers where the same code works in many different languages?

Combine equivalent trivial answers I think the idea is right, but needs to specifically target the problem case of built-in-does-it answers. Trivial challenges invite many trivial answers that are ...
xnor's user avatar
  • 145k
24 votes

Loopholes that are forbidden by default

Output shall be non-trivial (e. g. not empty) Mainly targeting code-challenges where the score is determined by the output. This results in very boring, but valid, answers which tend to get upvoted ...
24 votes

Are theoretically incorrect answers allowed if it's (near) impossible to find incorrect inputs?

No Given that we allow answers which have infinite memory and infinite processing time, if theoretically an input exists that makes the answer invalid, the answer should be deemed invalid. This holds ...
AdmBorkBork's user avatar
  • 43.4k
24 votes
Accepted

Is this an acceptable way to shave a byte in ES6?

Well, yes. You just have to specify how to call it in your answer. It's no different than a submission that expects a certain type of input input (command line args vs. STDIN, for example).
Addison Crump's user avatar
24 votes
Accepted

How to count bytes in languages with autoformatters

Count code size before autoformatting Rationale: You can type or paste unformatted code into the interpreter, hit run, and it works. The fact that the interpreter adds whitespace or expands shortcuts ...
DLosc's user avatar
  • 39.3k
22 votes

Loopholes that are forbidden by default

Using an inconsistent I/O format to encode information For example, for a hypothetical challenge where the output could only ever be two or eleven, submitting the python program ...
22 votes

What do we consider an "unfair advantage"?

"I know it when I see it" Not the easiest definition to enforce, but I think this is the best way to put it. If we try to nail down this definition of "unfair", we could make ...
El'endia Starman's user avatar
21 votes
Accepted

Let's customise the "How to Answer" pop-up

This was recently changed to the text proposed by coredump. New users who enter the Your Answer box will see:
Taryn's user avatar
  • 101
21 votes

Loopholes that are forbidden by default

Using cryptographic functions in a cops and robbers challenge Almost every cops and robbers challenge will have the following requirement: Using cryptographic functions such as hashes or PRNGs is ...
21 votes

Loopholes that are forbidden by default

Exactly duplicating another answer This specifically came up for me in a king-of-the-hill contest. In particular, this contest had a random component, so replicating a submission could allow one to ...

Only top scored, non community-wiki answers of a minimum length are eligible