Quantcast
Viewing latest article 41
Browse Latest Browse All 57

Answer by Victor Stafusa - BozoNaCadeia for Loopholes that are forbidden by default

Posting a code snippet instead of a complete answer

Note: There is now a separate question covering this loophole in more detail.

This is a issue mainly for , and variants.

Only in very few cases this seriously affects .

The issue is when someone post a function, a method, an instruction or a code-snippet instead of a complete program. And then score their answer based on only what was posted. This gives an unfair advantage over who posted a complete solution.

Here is an example of a complete C Hello World program in 53 bytes:

#include<stdio.h>int main(){printf("Hello World!");}

But, the answerer, with the intent to defeat another answer in code-golf, posts this instead, claiming that their answer is 22 bytes:

printf("Hello World!")

Viewing latest article 41
Browse Latest Browse All 57

Trending Articles