Answer by Martin Ender for Loopholes that are forbidden by default
Adding input or rules which weren't explicitly mentioned in the challengeThere was recently a case where an answerer claimedNowhere does it say the program can't (also) ask the user what the [result]...
View ArticleAnswer by Kyle Kanos for Loopholes that are forbidden by default
Fake random numbersPretty much any underhanded challenge involving random numbers will have someone post this one:int getRandomNumber(){ return 4; //chosen by fair dice roll. //guaranteed to be...
View ArticleAnswer by ProgramFOX for Loopholes that are forbidden by default
Using a different name for something that's prohibitedThe title is not very clear, I know, but this is what it means: if a specific function is prohibited, someone can use a language where another term...
View ArticleAnswer by Victor Stafusa - BozoNaCadeia for Loopholes that are forbidden by...
Posting a code snippet instead of a complete answerNote: There is now a separate question covering this loophole in more detail.This is a issue mainly for code-golf, code-challenge and variants.Only in...
View ArticleAnswer by Victor Stafusa - BozoNaCadeia for Loopholes that are forbidden by...
Outsourcing the real answerI still did not see people using this thing here in serious answers (just in some jokes ones), but already saw it being used seriously elsewhere. To circumvent restrictions...
View ArticleAnswer by asteri for Loopholes that are forbidden by default
Using comments to circumvent character requirements/restrictionsIt's cute and makes you laugh once, but when you see it several times over several challenges, it just becomes facetious and contrary to...
View ArticleAnswer by Jonathan Van Matre for Loopholes that are forbidden by default
Copying an (unimproved) answer from elsewhereIf it's not your own work, and you can't even try enough to golf or improve it, then it's not yours to post.
View ArticleAnswer by user10766 for Loopholes that are forbidden by default
Using built-in functions to do the workMathematica is a big one for this, with Fibonacci[n] to calculate the n'th Fibonacci number.... I have no objection to these being posted as a side note within...
View ArticleAnswer by Doorknob for Loopholes that are forbidden by default
Identical functions with different namesFor example, if + is forbidden, usingnum3 = num1.add(num2)ornum3 = num1num3 += num2ornum1++or (GolfScript))etc.
View ArticleAnswer by ugoren for Loopholes that are forbidden by default
Using the program name to store data without counting those bytesExample - this bash script prints Hello World!echo $0Must be saved in a file called Hello World!.When using the filename to store data,...
View ArticleAnswer by Ilmari Karonen for Loopholes that are forbidden by default
Using a made-up language specifically designed for the challengeThis includes any language with commands that "do whatever I choose them to do". Claiming that your answer is written in "MyOwnLanguage",...
View ArticleAnswer by Ilmari Karonen for Loopholes that are forbidden by default
Interpreting the challenge too literallyThat is, if the challenge says "write a function that, given a number n, returns the n-th prime", posting something equivalent to:function f($n) { return "the...
View ArticleAnswer by Peter Taylor for Loopholes that are forbidden by default
Hard-coding the outputUnless the question is an obvious exception (the primary exception being those tagged kolmogorov-complexity), your program is expected to do work, not just print a pre-calculated...
View ArticleAnswer by Peter Taylor for Loopholes that are forbidden by default
Fetching the desired output from an external sourceThis includes doing an HTTP request to fetch the page with the question and extracting a solution from that page. This was mildly amusing back in...
View ArticleLoopholes 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 try...
View ArticleAnswer by The Empty String Photographer for Loopholes that are forbidden by...
Using MetaGolfScript in a polyglot challengeSo you write an answer in GolfScript. By definition, it will also work in all MetaGolfScript languages, of which there are infinitely many, allowing you to...
View ArticleAnswer by The Empty String Photographer for Loopholes that are forbidden by...
Making an OS specifically designed for the challengeIn this sandboxed challenge, it says you can use any environment you want. So I thought, what if you made a specific OS where the Python distribution...
View Article