Newest Questions
14,341 questions
0
votes
1
answer
21
views
Box drawing number display
Similar:
Display words using 7-segment display
Seven Slash Display
My first challenge
Using the box drawing symbols (─│┌┐└┘├┤┬┴┼╴╵╶╷ or ...
11
votes
23
answers
1k
views
Draw X numbers from range Y
Inspired by this question
Task:
Given integers X and Y:
Randomly select an int in 1..Y (inclusive), X times. This selection is to be performed without replacement ...
7
votes
1
answer
164
views
Fitch Proof of \$(p\Longrightarrow q)\iff\lnot p\lor q\$ with least amount of steps
In the smallest amount of steps, prove
$$(p\Longrightarrow q)\iff\lnot p\lor q$$
We base the proof system on this website. The related functionalities are:
Assumption. Assume that some statement is ...
7
votes
7
answers
730
views
Conversion between CESU-8 and UTF-8 (for supplementary characters)
The Compatibility Encoding Scheme for UTF-16: 8-Bit, also known as CESU-8, is a Unicode encoding that is not part of the Unicode standard, but mentioned in a Unicode Technical Report as a ...
4
votes
0
answers
181
views
Ruler-and-compass constructions
In this code-golf challenge, you will work with a construction that was used by the ancient Greeks: the straightedge-and-compass construction. In particular, you will count how many different ...
-2
votes
0
answers
83
views
Draw a cube in ASCII art [duplicate]
Task description:
Draw a cube in ASCII art in roughly a cabinet projection.
The only differences between this and that is:
Instead of being given a number n and following the formulae a=2n, b=n, h=1/...
11
votes
3
answers
322
views
UTF-8 character decoder (with invalid sequence handling)
UTF-8 is the most widely used character encoding on the internet. It encodes a Unicode code point into a byte sequence of 1 to 4 bytes long.
The UTF-8 encoding has many features that makes it popular, ...
-2
votes
0
answers
58
views
Pi Calculating Challenge [duplicate]
Using as few characters of code as possible, create code to calculate at least 1000 digits of Pi within 1 second.
12
votes
11
answers
1k
views
Bespoke numbers
Introduction
Bespoke is an esoteric programming language I created in January 2025, where the commands are encoded into the lengths of words in the program. For example, ...
2
votes
1
answer
184
views
Long running section 11.4 Minsky machine
Challenge
We define a Minsky machine as a program made of the following two instructions:
+X which increments the register X and continues to the next instruction
-Xn which simply continues if X is ...
21
votes
9
answers
2k
views
Turn a string into a snake
Write a function or program which writes an input string out as a snake.
The snake starts heading to the right. If a / or \ ...
3
votes
1
answer
206
views
Count number of families of sets satisfying a list of criteria
CHALLENGE
This problem has a math background.
For n=1,2,3,4 we want to count the number of families of sets with maximum n elements that satisfy many criteria of the form:
$$\bigoplus_{k\in A,A\in \...
7
votes
6
answers
2k
views
Bring back cup stacking
Do you remember cup stacking? Young competitors compete to see how quickly they can arrange 12 upside-down plastic cups into three consecutive arrangements of cup pyramids.
The number of each cups in ...
7
votes
8
answers
2k
views
The Oreo Problem: How to find the Excess
This problem is inspired from this childhood advertisement I remembered of while making biscuits with my checkers. Assume you got a black checker, and white checker on top of it, and another black ...
12
votes
4
answers
1k
views
Efficiently navigate a 6 sided die
An ant needs help moving around specific faces on a 6 sided die in order. Write a program or function which, given a series of numbers between 1 and 6, outputs the shortest set of instructions to ...