Linked Questions
11 questions linked to/from Tips for golfing in Pyth
235
votes
184
answers
38k
views
Evolution of "Hello World!"
This contest is officially over, the winner is jimmy23013. Congratulations!
The challenge is to make a program that prints Hello World! to stdout. The catch is that ...
27
votes
55
answers
4k
views
Convert C header names to C++ header names
In the C standard library, header names end with a .h suffix:
stdio.h
In C++, those header names are available in an ...
25
votes
47
answers
3k
views
Reversed Engineered from Uniqueness (Cop's Thread)
Given the output of the cop's program (o), the byte-count (n) and the number of unique bytes (...
39
votes
13
answers
6k
views
Programming with a Sporadic Shift Key
There's something wrong with your keyboard. The Shift key has a mind of its own. Every time you type a character you have no idea whether it will come out shifted or not (though it is 50-50). Besides ...
20
votes
25
answers
2k
views
Counting characters
Write a function or program that accepts one character (or a string of length 1) as input, and outputs the number of times that character occurs inside the code.
This program must be a Proper Quine, ...
13
votes
11
answers
4k
views
Compute the inverse XOR
Let f be the function that maps a bitfield ({0 1}) of size n+1 to bitfield of size ...
14
votes
14
answers
1k
views
Percent-Encode a String
Introduction
As some of you may know, URLs actually have a list of characters that do special things. For example, the / character separates parts of the URL, and ...
14
votes
7
answers
785
views
Could They Be The Same Day Of The Week?
Challenge
Given a non-negative integer, output whether it is possible for two dates (of the Gregorian calendar) differing by exactly that many years to share a day of the week. A year is assumed to be ...
10
votes
5
answers
800
views
Golf Practice: Pyth [closed]
This is a challenge about the the tricks and optimizations that can be used when golfing in Pyth. Pyth golfers may recognize many of the tricks involved. However, unfamiliar approaches and constructs ...
11
votes
5
answers
838
views
CipherSaber encryption
Implement a CipherSaber encryption program, as described below. Guidelines:
The smallest entry, in bytes, wins.
However, in a departure from code-golf norms, you are welcome to post interesting ...
12
votes
5
answers
283
views
Generate Probabilities around a Numpad
Inspired by this question earlier today, I'd like to see interesting ways various programming languages can turn a numpad into probabilities. Commonly, tile-based games will allow you to use a numpad ...