Linked Questions

235 votes
184 answers

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 ...
Calvin's Hobbies's user avatar
27 votes
55 answers

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 ...
fredoverflow's user avatar
  • 2,711
25 votes
47 answers

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 (...
Magic Octopus Urn's user avatar
39 votes
13 answers

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 ...
Calvin's Hobbies's user avatar
20 votes
25 answers

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, ...
Adam Abahot's user avatar
13 votes
11 answers

Compute the inverse XOR

Let f be the function that maps a bitfield ({0 1}) of size n+1 to bitfield of size ...
nvidia's user avatar
  • 337
14 votes
14 answers

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 ...
GamrCorps's user avatar
  • 7,502
14 votes
7 answers

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 ...
Jonathan Allan's user avatar
10 votes
5 answers

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 ...
isaacg's user avatar
  • 42k
11 votes
5 answers

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 ...
C. K. Young's user avatar
  • 4,917
12 votes
5 answers

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 ...
Seiyria's user avatar
  • 223