Questions tagged [code-bowling]
Code bowling is a competition to solve a particular problem in the most bytes possible. Must be used with other restrictions so that arbitrarily high scores aren't trivially possible.
37 questions
7
votes
6
answers
1k
views
Longest irreducible quine
Write an irreducible proper quine, i.e. a program that prints its own source code, which can't be reduced by removing characters to a shorter program with the same constraints.
Eg. the python quine:
<...
9
votes
5
answers
837
views
Output greater than without the previous character
For each character in your program, the program with that character removed must produce a number smaller than the program with the next character removed. Your base program isn't required to do ...
16
votes
4
answers
975
views
Pristine Polyglots
As the title says, you are to create a pristine program in as many languages as possible. A pristine program, taken from here, is:
Let's define a pristine program as a program that does not have any ...
8
votes
6
answers
896
views
Biggest Irreducible Cat [duplicate]
I guess you could call this the next challenge in the "Irreducible series".
Hello World
Challenge
Create a cat subject to the constraint that it is irreducible.
A cat program ...
5
votes
5
answers
693
views
Determine the lexicographical permutation your code is in
Write a program that outputs the number 0.
That's a bit trivial, isn't it?
Let's sort all distinct permutations of your code in lexicographical order. When any of these codes are run, it should ...
5
votes
1
answer
411
views
What is the longest possible DDL query in PostgreSQL?
We all know and love the corpulent DDL expressions one can write in PostgreSQL with wording like DEFERRABLE INITIALLY DEFERRED, ...
13
votes
1
answer
776
views
Is everything in order?
Challenge:
Input: a string, consisting of only printable ASCII characters
Output: a truthy/falsey value whether its characters are in alphabetical order (based on their UTF-8 unicode values), from any ...
61
votes
24
answers
18k
views
Biggest Irreducible Hello World
Create a program that outputs Hello, World!
The winner is the source code that is the biggest, subject to the constraint that it is irreducible
For this challenge,...
3
votes
3
answers
449
views
Longest pristine(ish) codepoint run
Your challenge is to create the longest run of characters with incrementing Unicode codepoints in a pristine program as you can. To keep things simple, I'll abridge the definition for this challenge ...
-2
votes
4
answers
919
views
Find the hardest OEIS sequence to golf!
Notice: This question originally had people write comments with a shorter program, rather than new answers. This has been changed so that people with shorter programs can get reputation too. Hopefully ...
25
votes
3
answers
2k
views
Meta-bowling Golf
Your task is to create the shortest program (A) that outputs another program (B) with the most unique bytes, which in turn outputs the original program (A). Essentially, you are golfing one half of a ...
95
votes
20
answers
8k
views
Pristine and Unique Code Bowling
Your challenge is simple: write as long of a pristine program as possible in the language of your choice using only unique bytes. (The full definition of a pristine program, copied from that link, is ...
9
votes
32
answers
2k
views
Square and square [closed]
Squares looks symmetric, and so are the required codes.
Objective: Write a program whose source code is a solid square (N lines with N printable, non-whitespace characters each line) and prints a ...
10
votes
5
answers
2k
views
It's Anagram Quine, not just Quine!
The Task
In this challenge, your task is to write a program, which takes in no input, with as many anagrams that are quine of themselves as possible.
Your score will be the number of anagrams of your ...
26
votes
5
answers
2k
views
Same code different characters
Note: This challenge only allows answers in compiled languages
Task
Your task is pretty simple, make two different programs that when compiled result in the same output.
Scoring
Here is where the ...