Newest Questions
14,357 questions
5
votes
3
answers
2k
views
AAAAAAAAAAAA!!!! expressions
AAAAAAAAAAAA!!!!, which is 14 A's and 4 exclamation marks, is a procedural esoteric programming with no implementations yet created by User:Zzo38 first appeared in 2006. As the language name suggests, ...
15
votes
17
answers
1k
views
Counting Gessel walks
OEIS A135404 gives the number of Gessel walks \$g(n)\$ of length \$2n\$. A Gessel walk is
a walk on the square lattice starting and ending at the origin
with possible steps (1,0), (-1,0), (1,1), (-1,-...
7
votes
4
answers
1k
views
Tips for golfing in array languages
We already have a few language-specific tips threads for languages which fall under the array-language umbrella, but there are many golfing tricks which are more or less universal among these ...
14
votes
4
answers
2k
views
Generate a 45x45 solved crossword puzzle
2025 is an odd square: 2025=45*45. This is the only such year in our lifetime, so let's celebrate it!
Your code should output a matrix of dimensions 45 by 45. Each element in the matrix should be an ...
14
votes
19
answers
2k
views
Antiparallel 12-hour Clock Hands
Output (or print) each of the 11 times, one per line, in the POSIX %I:%M:%S format, at which the hour and minute hands of a 12-hour clock are antiparallel. Here <...
14
votes
14
answers
969
views
Implement Uiua's 'tuples' function
In the programming language Uiua, there is a higher-order function called tuples which is a generalization of getting the permutations or combinations of an array. Tuples takes a list \$ a \$, a ...
7
votes
1
answer
290
views
Automated C Golfer
Introduction
Is it possible to create a program to automatically golf C code while maintaining the original functionality? That's what I hope to find out in this question.
Challenge
The input consists ...
8
votes
4
answers
609
views
Toggle Hangul Vowel Harmony
(This post is partly self-plagiarized.)
Objective
Given a Hangul syllable, toggle its vowel harmony.
Introduction to Hangul syllables
Hangul(한글) is the Korean writing system invented by Sejong the ...
7
votes
1
answer
331
views
Tips for golfing in Maple
Maple is designed for mathematical computation, with a focus on symbolic algebra, calculus, and data visualization. I’m experimenting with code golf in Maple and want to make my scripts as concise as ...
4
votes
0
answers
151
views
Tips for golfing in Sidef
Sidef, created by Daniel Șuteu, is designed for expressive, compact code, especially in mathematical domains (e.g., number theory, combinatorics). I’m diving into code golf challenges using Sidef and ...
10
votes
7
answers
2k
views
Tips for golfing in Fortran
Fortran is a compiled imperative language known for its numerical and scientific computing strengths. It blends traditional procedural programming with some modern features like array operations.
What ...
3
votes
1
answer
96
views
Tips for golfing in COBOL
COBOL is a high-level, compiled programming language designed for business applications, readability, and long-term maintainability. It emphasizes verbose syntax, English-like readability, and robust ...
3
votes
4
answers
114
views
Tips for golfing in Bespoke
What are some general tips you have for golfing in Bespoke? I want answers that are specific to Bespoke (e.g. don't just say "remove comments"). One tip per answer.
Esolangs page
...
3
votes
2
answers
449
views
9 Queens and 1 obstacle
Position 9 queens and 1 obstacle on an 8×8 chessboard so that no two queens threaten each other. Obstacles between two queens prevent them from threatening each other.
For example here is a solution (<...
8
votes
5
answers
756
views
Basic Uiua Planet Notation
Uiua is a stack-based array programming language, and with the great power of a stack comes the great responsibility of having to manage it. In this task you will take on the role of the Uiua ...