Questions tagged [defaults]

For clarification of rules that apply to challenges if not mentioned by the author

Filter by
Sorted by
Tagged with
382
votes
47answers
179k views

Loopholes that are forbidden by default

There are a number of standard loopholes which experienced question-setters seek to explicitly close. However, inexperienced question-setters may unintentionally leave them open, or respondents may ...
100
votes
86answers
27k views

Default for Code Golf: Input/Output methods

It looks like we have a consensus that we want certain defaults for the format which answers are expected in for code-golf. On that poll, the question arose twice, which input/output formats should be ...
86
votes
42answers
20k views

Things to avoid when writing challenges

If there is something that you find annoying / counterproductive / unfair / detrimental / no longer funny in challenges (question posts), describe it in an answer here, and propose a recommended ...
46
votes
6answers
6k views

Default for Code Golf: Program, Function or Snippet?

One of the things many (new?) users forget to specify in code-golf challenges is whether the answers should provide a full program or a function (or even just a snippet). For most such things, we have ...
22
votes
2answers
2k views

When is code that requires a REPL acceptable?

Question in brief: For what challenge types and in what circumstances should code that requires a REPL be acceptable in an answer? There seems to be an understanding in chat that code that only works ...
19
votes
2answers
2k views

What character encodings may a submission use?

In code-golf questions, we typically score submissions by their byte count. However, whenever a submission uses a character outside of the ASCII range, the question of which encoding the code uses ...
48
votes
1answer
3k views

When can APL characters be counted as 1 byte each?

Prompted by this. The question of APL's encoding often comes up, and many times a helpful soul links to Wikipedia's article on the APL EBCDIC codepage. However, each implementation of APL has its own ...
24
votes
3answers
1k views

Should Booleans be allowed where a number is required?

This is a rather common inquiry in contests that require computing elements of a sequence. For example, consider the following recursive implementation of the factorial function (Python): ...
23
votes
12answers
2k views

Default acceptable image I/O methods for image related challenges

I do not feel that the default general acceptable I/O methods sufficiently cover image-processing and graphical-output challenges. So I would like to poll. What are the default acceptable I/O methods ...
15
votes
6answers
851 views

Which number formats are acceptable in output?

Comments on this loophole meta answer suggest that more than a simple yes or no answer is required. Which number formats are valid for output? Is there a difference between code-golf and other tags? ...
5
votes
3answers
353 views

How should we score compiler/interpreter build-time options?

Prompted by this comment. The scoring of optional flags passed to compilers/interpreters has already been handled here and here. However there is another case of one more level of indirection. ...
9
votes
4answers
464 views

Minecraft I/O Methods

Seeing as how we've discussed a size measurement for Minecraft redstone creations, I thought I'd follow that up with establishing standard output and input methods. Minecraft, obviously, does not ...
14
votes
2answers
270 views

Defaults for reading several pieces of input

When reading several pieces of input as command-line arguments, it is common practice to read each piece as a different argument. The command-line arguments now provide an array of the input pieces. ...
8
votes
4answers
157 views

Default policy for ouput in decision problems

Challenges tagged as decision-problem involve "deciding whether the input meets certain criteria". Although some challenges with this tag involve more than two categories, most involve only ...