Linked Questions

-5 votes
13 answers
715 views

Generate and print the first 20 Fibonacci numbers with the least unique characters [duplicate]

As the title suggests, my task is fairly straightforward: Write a program in your language of choice that will print out the first 20 Fibonacci numbers using the least unique characters. For example ...
Etaoin Shrdlu's user avatar
13 votes
1 answer
2k views

What is the minimum set of characters with which you can write any valid python program? [duplicate]

The proof of the set of characters is that there is a translator which takes any ascii python program as input and produces a limited character set version of the program. The limited character set ...
user avatar
4 votes
6 answers
342 views

FizzBuzz: Least unique bytes [duplicate]

Introduction: Although it seems challenges scored by least unique characters have been attempted, there are few which were well-received. I think it's a potentially interesting scoring criterion, as ...
rydwolf's user avatar
  • 18.9k
0 votes
2 answers
950 views

Conway's Game of Life with smallest *set* of source characters [duplicate]

The goal of this challenge is to write a program that will simulate a single round of Conway's Game of Life on an existing grid. Input format: Input will be read from stdin. The input will consist of ...
C0deH4cker's user avatar
5 votes
1 answer
299 views

Shrink your language's character set [duplicate]

We often get restricted-source questions here on PPCG that favour submitting solutions using only a subset of characters (sufficiently so that there's a tag printable-ascii that identifies a ...
user avatar
153 votes
87 answers
25k views

Fewest (distinct) characters for Turing Completeness

Summary: For any given language, what is the smallest amount of unique characters for your language to be Turing-Complete? Challenge: For any language of your choice, find the smallest subset of ...
Julian Lachniet's user avatar
236 votes
30 answers
25k views

DISARM THE B.O.M.B.!

You have been hired for your tech knowledge as a Secret Agent's sidekick to ensure that the good guy can get his job done and the world can be saved. This is your last mission before retiring with a ...
Averroes's user avatar
  • 4,117
62 votes
31 answers
10k views

Output the text "Code Bowling"

Code-Bowling You've been hired by Brunswick Bowling to create a simple program to output the text Code Bowling on their monitors. This company is worth a pretty ...
Albert Renshaw's user avatar
37 votes
41 answers
4k views

Print a string in as few distinct characters as possible

The task is simple: print The quick brown fox jumps over the lazy dog using as few distinct characters in your source code as possible. ...
ashastral's user avatar
  • 2,644
43 votes
17 answers
8k views

What's the shortest contiguous subset of ASCII you need to output the rest?

The printable ASCII characters (hex codes 20 to 7E) in order are: ...
Calvin's Hobbies's user avatar
33 votes
29 answers
4k views

Source Code Byte Frequency

Source Code Byte Frequency Write a program that get a single byte character as an input and prints the frequency of that byte in the program's source code as an output. Examples: Assuming my program ...
SomoKRoceS's user avatar
  • 1,435
54 votes
2 answers
4k views

JSF**k with only 5 symbols?

This is not a challenge but a question, I figured it was on topic because of Non-challenge questions that are related to solving programming puzzles or a particular type of challenge are also on ...
Jens Renders's user avatar
  • 1,588
13 votes
3 answers
625 views

Writing erasable code

My phone number (which I will not be sharing here) has a neat property where there is a two digit number, which when iteratively removed from my phone number will eventually remove all the digits. ...
Wheat Wizard's user avatar
  • 100k
-6 votes
3 answers
458 views

Make a GUI window in any language using minimum "different characters" [closed]

I want you to make a gui window like this: * if you're thinking, the [quit] button closes the window in any language using minimum "different" characters.. AND remember that the gui window ...
whmsft's user avatar
  • 123