101 questions linked to/from Default for Code Golf: Input/Output methods
In code-golf is it always ok to print ASCII digits when an integer is asked for? [duplicate]
When the question clearly asks for an integer is it always OK to just print the ASCII digits of the integer without actually generating the integer value? The consensus is yes. It's the programs/...
Clarification of global variables as "arguments" [duplicate]
Say language X supports functions, but input must be done through one of the predefined global variables (all initialized to zero). Can I consider this a use of an argument? Similarly can I use this ...
Sandbox for Proposed Challenges
This "sandbox" is a place where Code Golf users can get feedback on prospective challenges they wish to post to main. This is useful because writing a clear and fully specified challenge on ...
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 ...
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 ...
New users' guides to golfing rules in specific languages
What are the most important rules a first-time golfer in a given language should know? For instance, how do golfed programs usually take input and output? Each language should have a single CW answer ...
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 ...
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 ...
Standard definitions of terms within specifications
Quite often I find that I am repeating myself when creating a challenge. For example, usually I have to retype the definition of "random" in all of my posts, or I have to specify the same thing about ...
Can numeric input/output be in unary?
Some string-based languages (including but not limited to sed, Retina, ///) can't really handle integer arithmetic in decimal (or other normal bases). Therefore, these almost always have to start by ...
Best of CGCC 2022 - Voting Now Open!
Final phase You have chosen the categories and the nominees for CGCC's annual "Best of". Now it is time to pick the winners! Each of the 16 categories is represented by an answer to this ...
Things to consider when creating a challenge
There's a lot to remember to include when writing a challenge for this site. What are some things that are easy to forget? Return to FAQ index
Command-line flags on front ends
Our standard policy regarding command-line flags states that one should count the space before the dash (-) too, when there aren't any "free" options, since it ...
Welcome to Code Golf and Coding Challenges Stack Exchange!
What is this site? This is a place to host recreational coding challenges, such as code golf. We are unlike most sites in the Stack Exchange network. We are not a question-answer site, nor are we a ...
What's a string?
If a challenge says that input will be in the form of a string, what is acceptable? Various languages have different ways of implementing strings, so here's what I've "borrowed" from Wikipedia: ...