We all know true and false, but what do speakers around the globe say?
+----------------------+------------+------------+
| Language | True | False |
+----------------------+------------+------------+
| Arabic | sahih | zaif |
| Armenian ...
Compute $(2k-1-n)(2k-n)/2$ as an integer triangle for $0 \le k \le n$.
The following restriction applies: Only addition is allowed as an arithmetic operation.
List operations like appending, extending, reversing etc. are allowed.
Construct the triangle for $n = 6$, displaying row by row on a...
Eight days a week code-golf date
Back in 1965, The Beatles released their hit song 'Eight Days a Week'.
In this code-golf challenge we are going to reimagine dates of the 21st century as if there really were eight days a week.
Input
You will be given three positive integers, based on ISO 8601 ...
@cairdcoinheringaahing I like the challenge (gave it a +1 a while ago). My only question, though: why use N and M first, then g and f? I think keeping a single notation throughout would be clearer
We all know what a quine is. A quine is a program which prints its own source code. And we also know about the printable ASCII characters. Well... this challenge mixes both.
Your mission, should you accept it, is to create an index quine. An index quine is a non-empty program, composed only of t...
What is the shortest code, in any garbage collected language (including ARC) that produces a memory leak? It does not matter how much memory is leaked. The shorter the code, and the more deeply nested the implementation languages, the better. For example moonscript -> lua -> C -> assembly -> machine code better than Rust -> assembly -> machine code.
Parse a Unicode vulgar fraction
Objective
Given a string with single Unicode vulgar fraction, parse it to a rational number.
Valid inputs
A valid input consists of:
(Optional) Leading whitespaces
One of:
¼ U+00BC; one quarter
½ U+00BD; one half
¾ U+00BE; three quarters
⅐ U+2150; one seven...
What is the shortest code, in any garbage collected language (including ARC) that produces a memory leak?
It does not matter how much memory is leaked. The shorter the code, and the more deeply nested the implementation languages, the better. Score is calculated by the number of characters tim...