Quantcast
Browsing all 57 articles
Browse latest View live

Answer by Titus for Loopholes that are forbidden by default

Sending error messages to the null device... instead of avoiding them.This should either be forbidden or add to the byte count, as setting options to suppress messages do.example

View Article


Answer by Dennis for Loopholes that are forbidden by default

URL shorteners / shortened URLsEvery 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...

View Article


Answer by Dennis for Loopholes that are forbidden by default

Improper quinesWe'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.While these...

View Article

Answer by user45941 for Loopholes that are forbidden by default

Generating a random stream of output when a specific output is requiredFor example, if a challenge requires you to output 4, you can't output an infinite stream of random digits, and say "4 is in there...

View Article

Answer by trichoplax is on Codidact now for Loopholes that are forbidden by...

Outputting an expression instead of a numberFor example, outputting 3*3 instead of 9, or outputting 7/4 instead of 1.75.Unless the challenge explicitly allows expression output, the output should be in...

View Article


Answer by user45941 for Loopholes that are forbidden by default

Generating all possible functions/programs to solve a challengeIn this meta post, isaacg pointed out that, under current consensus, the following Python code (edited to fix a mistake) could possibly be...

View Article

Answer by Downgoat for 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...

View Article

Answer by Dennis for Loopholes that are forbidden by default

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

View Article


Answer by jimmy23013 for Loopholes that are forbidden by default

Using non-programming languages(irrelevant to "golfing" languages)Not to be confused with golfing languages. This loophole definitely has nothing to do with golfing languages.A purported programming...

View Article


Answer by TessellatingHeckler for Loopholes that are forbidden by default

A script invoking itself as a form of looping/recursion, where the filename has to be a specific namee.g. I answered a question with PowerShell which included sleep 1;t where the script had to be...

View Article

Answer by isaacg for Loopholes that are forbidden by default

Using a non-free language on a Cops and Robbers challengeMost (currently all) cops and robbers challenges consist of two parts:A cop submission, where a user posts some secret property of a program,...

View Article

Answer by mbomb007 for Loopholes that are forbidden by default

Creating a new compiler for a language after a challenge was postedThere is some debate arising from this answer. He created his own compiler for the C programming language that extends the language...

View Article

Answer by Dennis for Loopholes that are forbidden by default

Using prior knowledge to circumvent other loopholesIn particular, gaining an unfair advantage by inventing new languages for future challenges that are being sandboxed, discussed in chat, are your own,...

View Article


Answer by randomra for Loopholes that are forbidden by default

Changing your username to fit a username dependent challengeChanging your username or registering a new one to make your score better in username or userID dependent challenges.

View Article

Answer by Dennis for Loopholes that are forbidden by default

Zero-length quinesConsidering an empty program a quine was original in the 1994 IOCCC. Over two decades later, if you can answer a question with an empty program and that question is scored by length...

View Article


Answer by jimmy23013 for Loopholes that are forbidden by default

Using MetaGolfScriptMetaGolfScript is a family of programming languages. For example, the empty program in MetaGolfScript-209180605381204854470575573749277224 prints "Hello, World!".It is similar to...

View Article

Answer by FUZxxl for Loopholes that are forbidden by default

Compressing your source codeSome language provide builtin facilities to compress data and execute the result as source code. I consider this to be a standard loophole, especially when the challenge is...

View Article


Answer by Martin Ender for Loopholes that are forbidden by default

Optimising for the given test casesThis applies to code-challenges and things like fastest-code, where you write some code that is measured by a criterion like runtime or size of your output (e.g. in...

View Article

Answer by Justin for Loopholes that are forbidden by default

Suicidal entries to King-of-the-Hill challenges.EmoWolf was funny the first time, but it's gettingout of hand.While some not-too-serious answers are often necessary to kickstart a king-of-the-hill...

View Article

Answer by Christopher Wirt for Loopholes that are forbidden by default

Using lots of spaces to "hide" code out of bounds, especially in underhanded questions. This isn't very clever or tricky, in my opinion, and yet wins all too often.Example: #include...

View Article
Browsing all 57 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>