text stringlengths 180 608k |
|---|
[Question]
[
I've just bought a new jigsaw puzzle but, as a programmer, I'm too lazy to do it by myself. So I've devised a way to encode the pieces, and now I need a way to solve the puzzle itself.
## Challenge
A puzzle piece will have from 2 to 4 connecting corners, defined by a letter; and a color, defined by a... |
[Question]
[
## Introduction
I can't stand text abbreviations, mainly because for the most part I have no idea what most of them mean. Of course, cut backs need to be made, so if they are necessary to fit the text in the character limit, I'll allow them.
## Challenge
You have to write a program that takes passage... |
[Question]
[
An often-used trick in BF-golfing is something I call "multiply then add." Let's say that you want to initialize the memory to contain a series of numbers, like `87 75 68 96`. The simplest way to do this is to simply write out a long series of 326 `+` signs. A better method, however is below.
```
+++... |
[Question]
[
There are two inputs, the first input is a map in 2D array, where 2 represents an obstacle and 0 represents a regular ground, and 1 represents the player's location (implies that the player is standing on ground), the second input is the player's movement range.
A player can move on the map (horizont... |
[Question]
[
What is the shortest selector (by character count) to select ALL html elements on a web page, without using asterisk (\*)? Some examples are the following:
```
a,:not(a) /*9 chars*/
:nth-child(n) /*12 chars*/
:link,:not(:link) /*17 chars*/
```
]
|
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/255572/edit).
Closed 1 year ago.
[Improve this question](/posts/255572/edit... |
[Question]
[
You want to write your English essay. However, all characters on your keyboard broke other than the arrow keys and the enter key. You want to find out how to place the characters so you can write your essay with the least movement.
Formally, you have to assign to each character of `!"$%&'()+,-./0123... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/248333/edit).
Closed 1 year ago.
[Improve this question](/posts/248333/edit... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/240495/edit).
Closed 2 years ago.
[Improve this question](/posts/240495/edi... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/204641/edit).
Closed 3 years ago.
[Improve this question](/posts/204641/edi... |
[Question]
[
The Hamming distance between two strings is the number of positions they differ at.
You are given a set of binary strings. The task is to find the length of the shortest route that visits all of them at least once and ends where it started, in a metric space where the distance between two strings i... |
[Question]
[
There are many generalizations of Conway's Game of Life. One of them is the isotropic non-totalistic rulespace, in which the state of a cell in the next generation depends not just on its state and the amount of alive cells around it, but also the relative positions of the cells around it.
Given an r... |
[Question]
[
>
> In computer science, a suffix automaton is the smallest partial deterministic finite automaton that recognizes the set of suffixes of a given string. (Wikipedia)
>
>
>
Given a string \$S\$ consisting of lowercase letters (`a-z`), construct the suffix automaton for it.
A suffix automaton is an... |
[Question]
[
Given a matrix, the goal is to ensure all the values in each column occur at least once, while at the same time doing so requiring the least possible amount of rows. Fastest solution wins.
Note: a value in one column (e.g. 1) is considered different from the same value in another column.
Expected ou... |
[Question]
[
The idea for this code golf puzzle is from link: [The Bridge and Torch Problem](https://codegolf.stackexchange.com/questions/75615/the-bridge-and-torch-problem)
>
> The inspiration for this code golf puzzle is the Bridge and Torch
> problem, in which d people at the start of a bridge must all cross... |
[Question]
[
Your job is to create the slowest growing function you can in no more than 100 bytes.
Your program will take as input a nonnegative integer, and output a nonnegative integer. Let's call your program P.
It must meet the these two criterion:
* Its source code must be less than or equal to 100 bytes.
* ... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/178403/edit).
Closed 5 years ago.
[Improve this question](/posts/178403/edi... |
[Question]
[
>
> TeaScript is a powerful JavaScript golfing language created by StackExchange, PPCG, user Downgoat. TeaScript compiles to JavaScript and contains many helpful features for golfing
>
>
>
This question is to list some [TeaScript](https://teascript.readthedocs.io/en/latest/index.html) golfing [ti... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/138764/edit).
Closed 6 years ago.
[Improve this question](/posts/138764/edi... |
[Question]
[
## Challenge
Given a time and a timezone as input, output the time in that timezone.
## Time
The time will be given in 24 hour format like so:
```
hh:mm
```
Where hh is the two digit hour and mm is the two digit minute. Note that the hour and the minute will always be padded with zeroes like so:
```
... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/119489/edit).
Closed 6 years ago.
[Improve this question](/posts/119489/edi... |
[Question]
[
**Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers.
---
This question does not appear to be about code golf or coding challenges within the scope defined in the [help center](https://codegolf.stackexchange.com/help/on-topic).
Closed 6 years ag... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/111591/edit).
Closed 6 years ago.
[Improve this question](/posts/111591/edi... |
[Question]
[
Playing tetris is fun. Watching an AI play tetris is also fun.
Some tetris AIs will **always** ignore the possibility of maneuvering a piece under an overhang, which makes me sad.
It means that the programmer said to himself, "What are all the possible places the tile could be at the top of the board... |
[Question]
[
**Challenge:**
Create a program that compresses a semi-random string, and another program that decompresses it. The question is indeed quite [similar to this one from 2012](https://codegolf.stackexchange.com/questions/4771/text-compression-and-decompression-nevermore), but the answers will most likel... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/99248/edit).
Closed 7 years ago.
[Improve this question](/posts/99248/edit)... |
[Question]
[
INPUT: Any string consisting exclusively of lowercase letters via function argument, command line argument, STDIN, or similar.
OUTPUT: Print or return a number that will represent the sum of the distances of the letters according to the following metric:
You take the first and second letter and count... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/57789/edit).
Closed 8 years ago.
[Improve this question](/posts/57789/edit)... |
[Question]
[
[Wireworld](http://en.wikipedia.org/wiki/Wireworld) is a cellular automaton that was designed to be resemble electrons flowing through wires. Its simple mechanics allow the construction of digital circuits. It has even permitted the construction of an [entire computer](http://www.quinapalus.com/wi-in... |
[Question]
[
**Challenge**
Write a solver for the [Chess Light](http://pyrosphere.net/chesslight/) puzzle game, in the smallest amount of code.
The input will be a representation of a chessboard, how in yours is up to you. My examples below is textual, in which some squares may already be occupied by black peices... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/37841/edit).
Closed 9 years ago.
[Improve this question](/posts/37841/edit)... |
[Question]
[
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, [visit the help center](/help/reopen-questions).
Closed... |
[Question]
[
The program has an input of a and b, and outputs the sum of numbers from a to b, inclusive. Score is in bytes. As always, [standard loopholes](http://meta.codegolf.stackexchange.com/questions/1061/loopholes-that-are-forbidden-by-default) are disallowed.
If your input is in the format [a,b], +3 bytes
... |
[Question]
[
**This question already has answers here**:
[Simple cat program](/questions/62230/simple-cat-program)
(330 answers)
Closed 8 years ago.
The mission is to implement a `cat`-like program (copy all STDIN to STDOUT).
Rules:
* You may only use standard libraries
* Indentation must be either two sp... |
[Question]
[
The handshake problem is the classic problem that for n people in a room, if they all shake hands, what's the total number of handshakes that occur.
You code should take an input of any number and output the number of handshakes, both in base ten.
Also the code should not let non-integers through. Y... |
[Question]
[
**Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers.
---
Questions without an **objective primary winning criterion** are off-topic, as they make it impossible to indisputably decide which entry should win.
Closed 10 years ago.
[Improve this qu... |
[Question]
[
# Challenge
Generate \$n-1\$ **consecutive** composite numbers using this prime gap formula
$$n!+2,n!+3,...,n!+n$$
**Input**
An integer \$n\$ such that \$3 \leq n \leq 50 \$.
**Output**
Sequence of \$n-1\$ consecutive composite numbers.
# Example
**Input**
```
3
```
**Output**
```
8
9
```
# Rules
* O... |
[Question]
[
In this exercise, you have to analyze records of temperature to find the closest to zero.
Write a program that prints the temperature closest to 0 among input data.
## Input
* N, the number of temperatures to analyse (optional). This will be nonzero.
* The N temperatures expressed as integers ranging... |
[Question]
[
Web safe colors are in intervals of 51, they include 0, 3, 6, 9, c, and, f as digits in hex (such as #993333), or 0, 51, 102, 153, 204, 255 in decimal. Your task today is convert a given color to a web safe one. You may [read more about web safe colors on Wikipedia](https://en.wikipedia.org/wiki/Web_... |
[Question]
[
A math Olympiad will be held, and participants are being registered. The highest number of participants is 100. Each participant is given an ID number. It is given in a sequence like \$100, 97, 94, 91, 88, ...., 1\$, and when the first sequence is over, then \$99, 96, 93, 90, 87, ...., 3\$ sequence a... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/244139/edit).
Closed 1 year ago.
[Improve this question](/posts/244139/edit... |
[Question]
[
I was messing around on my 'ol TI-84 CE and made a program that produced this output (it was actually bigger but that is not the point):
```
*
* *
* * *
* *
*
* *
* * *
* *
*
...
```
I evolved it to take input text and make the triangle waves out of that. The final step was to also t... |
[Question]
[
**Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers.
---
Questions without an **objective primary winning criterion** are off-topic, as they make it impossible to indisputably decide which entry should win.
Closed 7 years ago.
[Improve this que... |
[Question]
[
An arithmetic sequence is a sequence of numbers of the form `a`,`a+n`,`a+2n`,`a+3n`, etc. In this case, `a` and `n` will both be either integers or decimals.
Given two inputs, `a`, `n`, and a top number value, return a list of numbers where the last term is **less than or equal to** the top number va... |
[Question]
[
You are given two integers between lets say 1 and 12, `one` and `two`
and a integer between lets say 0 and 4 which is called `range`.
The challange is to decide if `one` is inside or equal the range from `two` ± `range`.
**The range is restarting with 1 after 12 and vise versa.**
... |
[Question]
[
# Task
Given a number between 0 and 1 and another integer, print the approximated value of the first number rounded off to the specified number of digits given by the second integer. For example, if the input is `0.3212312312 , 2` then the output is:
`0.32`
# Rules
* The number of digits after the do... |
[Question]
[
# Challenge
### Task
Given a number `N`, output 2 NxN squares; each line of each square is a random permutation of [0, N); the squares are separated by a newline
### Rules
* Produce a randomised list of length `N`, separated by space
* Repeat this N\*2 times
* Separate each output with a newline, wit... |
[Question]
[
A triangle-shaped table is constructed such the first row is "1, 3, 5, 7, ..., 99"
Each subsequent row has the following properties:
* One less element than the row above
* Each element is the sum of the two elements above it
Like so:
```
1 3 5 7 9 11 ....
4 8 12 16 20 ....
... |
[Question]
[
**Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers.
---
Questions without an **objective primary winning criterion** are off-topic, as they make it impossible to indisputably decide which entry should win.
Closed 8 years ago.
[Improve this que... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/32352/edit).
Closed 2 years ago.
[Improve this question](/posts/32352/edit)... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/31830/edit).
Closed 9 years ago.
[Improve this question](/posts/31830/edit)... |
[Question]
[
In this code-golf, you will attempt to match a string that is tail-repeating with one character falling off the head on each iteration. The code needs to be able to accept a string, and return to the user whether the string meets the above criteria.
Examples:
```
"", "x", and "xx" -> False
```
EDIT: ... |
[Question]
[
I recently watched *The Wizard Of Oz* and thought that when Dorothy taps her shoes together three times, it would be easier if she used a program to do it. So let's help her.
## Task
Output slippers being tapped together 3 times.
## Output
Slippers being tapped together. A pair of slippers not being ... |
[Question]
[
Today, *[@HyperNeutrino](https://codegolf.stackexchange.com/users/68942/hyperneutrino)* succeeded merging his two accounts, and finally got the reputation he lost back. Now, it's time to celebrate! Your task is to output this exact text:
```
/\
/ \
/ \... |
[Question]
[
# Context
As a conlanger, I am interested in creating a uniform, naturalistic language. One of the tricks is to create vocabulary according to certain structures of words. An example from English: In English, we have the word “tap” structured consonant-vowel-consonant. Usually, this means that there ... |
[Question]
[
This is different from [Print the Greek alphabet!](https://codegolf.stackexchange.com/questions/97049/print-the-greek-alphabet) because it is in words.
This is different from ["Hello, World!"](https://codegolf.stackexchange.com/questions/55422/hello-world) because the output is different and much l... |
[Question]
[
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reop... |
[Question]
[
Challenge: Implement incrementation without addition, multiplication, exponentiation, and any higher binary operators (and their opposites) in Python.
Winner is the person who can do it in the least amount of code. You score 5 characters less if you can do it for negative numbers and without unary op... |
[Question]
[
### Background
A Medusa have released a dangerous Hydra which is revived unless the exact number of heads it have is removed. The knights can remove a certain number of heads with each type of attack, and each attack causes a specific amount of heads to regrow. **The knights have hired you to write a... |
[Question]
[
**This question already has answers here**:
[Cryptographic quine variant](/questions/8947/cryptographic-quine-variant)
(4 answers)
Closed 4 years ago.
Your challenge is to output a [Base64](https://en.wikipedia.org/wiki/Base64)-encoded version of your source code, and optionally a line break. ... |
[Question]
[
## Very interesting background
Comcoins are a currency like any other. The residents of Multibaseania (an economically robust system of city-states with very few residents in a galaxy far, far away) use Comcoins to conduct transactions between themselves. Comcoins are represented by unique codes on s... |
[Question]
[
This is alternate of a [rip-off](https://codegolf.stackexchange.com/questions/221209/i-palindrome-the-source-code-you-palindrome-the-input) of a [rip-off](https://codegolf.stackexchange.com/questions/196864/i-shift-the-source-code-you-shift-the-input) of a [rip-off](https://codegolf.stackexchange.com... |
[Question]
[
Since no one has posted a "good quality question" recently, i feel it is my duty to...
**Task:**
>
> You work at an electronics company in the design department. The designers that work with you have asked you to make a program that will calculate the optimum configuration of pins on a microchip the... |
[Question]
[
Consider a function \$r\$ where
$$
r(i,k)= \begin{cases}
L\_{i+1}-L\_i, & \text{if}\ k =0\ \text{ (1st reduction)} \\
r(i,0)-r(\lfloor \log\_2{k} \rfloor,k-2^{\lfloor \log\_2{k} \rfloor}) & \text{if}\ k \geq 1\ \text{ (2nd reduction)}
\end{cases}
$$
where \$k<2^i\$ and \$L\$ is a finite sequence of i... |
[Question]
[
Here is a challenge:
What is the shortest possible compiled program? Writing one line programs are fun, but they often lean on language libraries that get pulled into the final bits. How lean can you get the 'scaffolding' that supports and hooks into the compiled instructions? This seems like an inte... |
[Question]
[
**This question already has answers here**:
[Numbers with Rotational Symmetry](/questions/77866/numbers-with-rotational-symmetry)
(43 answers)
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
>
> Original close reason(s) were not resolve... |
[Question]
[
You're playing [TF2](https://wiki.teamfortress.com/wiki/Voice_commands), and you want to make a bot that will just put voice commands into the chat box. Typically, to "call" a voice command, one would press a key (`Z`, `X`, or `C`) and a number (`1-8`) to create an audio dialogue. Here are the text e... |
[Question]
[
In 2D Mario, Bullet Bill cannons are two units tall. The Bullet Bill is fired out of the upper unit and travels in a straight line (parallel to the x axis).
Mario is two units tall when standing up and one unit tall when ducking. His jump height is three units. It takes him 0.5 seconds to reach the f... |
[Question]
[
Roll 3 dice, count the two highest two values and add them to the result. *Every 1 must be rolled **once** again.*
Now show the average throw after 1000000 tries and the probabilities for each result occurring:
# Desired Result:
>
> avg(9.095855)
>
> 2: 0.0023
>
> 3: 0.0448
>
> 4: 1.1075... |
[Question]
[
The goal is to create a generator generator [...] generator generator comprehension.
1. The generator must be created via [generator comprehension](https://stackoverflow.com/questions/364802/how-exactly-does-a-generator-comprehension-work).
2. The following expression must be valid for any number of ... |
[Question]
[
[The cop's thread is here](https://codegolf.stackexchange.com/q/175365/76162)
The robber's task is to find a program of size equal to or less than the cop's program, which, when given an itself as input, produces the same output as the cop's program.
Additionally, even if a cop's answer is provisiona... |
[Question]
[
[This `rar` file](https://www.cfresh.net/wp-content/uploads/2009/01/8200912819148.rar), when decompressed, gives a 65024-byte `exe` file. Requiring you to output the contents of that file would be absolutely no fun.
But you aren't required to do that. Actually, you're to do something opposite: Output... |
[Question]
[
**This question already has answers here**:
[xkcd 2385 KoTH (Final Exam)](/questions/224621/xkcd-2385-koth-final-exam)
(63 answers)
[Smallest unique number KoTH](/questions/172178/smallest-unique-number-koth)
(42 answers)
Closed 2 years ago.
In this challenge, players need to tamper with a ... |
[Question]
[
I am trying to find the shortest code in **python 3**, to solve this problem:
You are driving a little too fast, and a police officer stops you.
Write code to take two integer inputs, first one corresponds to speed, seconds one is either 1 or 0, corresponding to True and False respectively to indica... |
[Question]
[
192 is such a number, together with its double (384) and triple (576) they contain each 1-9 digit exactly once. Find all the numbers have this property.
No input.
Output:
```
192 384 576
219 438 657
273 546 819
327 654 981
```
[Answer]
## APL (20)
```
192 219 273 327∘.×⍳3
```
Just prints the... |
[Question]
[
# Objective
Mimic Haskell's `reads :: ReadS ()`.
Or in other words, parse nested parentheses. Since the target type is `()` (the type with one possible value), "parsing" means discarding a leading nested parentheses.
# Valid Input
"Nested parentheses" means `()`, `(())`, `((()))`, and so on. That is,... |
[Question]
[
So, this is a task from one very popular educational site in Russia:
<https://acmp.ru/index.asp?main=task&id_task=786&ins=1>
Mathematically, you need to find the power of two not exceeding the given number, read from the standard input stream, and output their difference in the standard output stream... |
[Question]
[
As you may know, the typical binary floating point numbers in a computer language are quite different than the typical integer numbers in a computer language. Floating point numbers can represent a much larger range, and can represent fractional amounts, however there is a trade-off that is frequentl... |
[Question]
[
Based on the interpretation user [@ThePirateBay](https://codegolf.stackexchange.com/users/72349/thepiratebay) made from the **[first version](https://codegolf.stackexchange.com/revisions/140321/1)** of my own challenge
### [Output diagonal positions of me squared](https://codegolf.stackexchange.com/q... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/125889/edit).
Closed 6 years ago.
[Improve this question](/posts/125889/edi... |
[Question]
[
A program is *"conveniently palindromic"* if
>
> it is equal to the string derived when its reverse has all its parentheses (`()`), brackets (`[]`), and braces (`{}`) flipped. No other characters are special and require flipping. (`<>` are sometimes paired but often not so they are left out.)
>
>
... |
[Question]
[
Your challenge is to create a basic version of Space Invaders in Python
## Rules
* Program must be not written in Py3K
* All levels must be randomly generated
* There must be a HUD showing the players score
The winner would be the answer which uses the least amount of code
Some Questions
Q: *How deta... |
[Question]
[
**This question already has answers here**:
[Encode a program with the fewest distinct characters possible](/questions/11690/encode-a-program-with-the-fewest-distinct-characters-possible)
(10 answers)
Closed 3 years ago.
**Introduction:**
Although it seems challenges scored by least unique cha... |
[Question]
[
### Introduction
Nodes in tree structures (e.g. headings in a long document, law paragraphs, etc.) are often created by assigning a specific header level (h1, h2, etc.) to each item, but outputted with additional node numbers for each level (1., 1.1., etc.), e.g.:
```
1. Intro (h1)
1.1. About this (h... |
[Question]
[
[The 24 Game](http://en.wikipedia.org/wiki/24_Game) is a card game. On each cards are four interger numbers. For a player, the goal is to use Addition, Subtraction, Multiplication and Division to end up with 24.
The goal of this code golf/puzzle is to write a program that, for four intergers, will st... |
[Question]
[
Your task is to write a program to perform set operations. The operations and arguments are taken from command line in the format `program operation [argument]`. There are four operations:
1. **1**: clears the set. no arguments. exit code 0.
2. **2 integer**: adds the `integer` into the set. exit cod... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/118/edit).
Closed 2 years ago.
[Improve this question](/posts/118/edit)
Wr... |
[Question]
[
It is [Restricted Integer Partitions](https://codegolf.stackexchange.com/questions/135875), but with maximum number.
# Question
Three positive integers are given. First number is number to divide, second number is length of partition, and third number is maximum number. First number is always largest... |
[Question]
[
Write a quine that outputs the complement of the source code from the smallest containing power of two. Here's an example:
```
IN : source
OUT: \r\x11\x0b\x0e\x1d\x1b
```
The largest code point in the string `"source"` is the letter `u`, which is 117. The smallest containing power of 2 would be 128, ... |
[Question]
[
# Fix my Basic Orthography
While I am excellent at following the English capitalisation rules when writing, when I am typing I have a habit a capitalising almost everything (as you will see from the titles of my challenges). I need a program to fix that, but because I use so many capitals, and capita... |
[Question]
[
Write a program that accepts input (through stdin) as a string of unary numbers delimited by spaces, and prints the equivalent string of numbers in binary, decimal, and hexadecimal. These unary symbols are allowed:
* stroke, `'/'` or `'\'`
* Decimal `1`
* ASCII `'I'`
* ASCII `'-'`
Your program does *... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/3550/edit).
Closed 7 years ago.
[Improve this question](/posts/3550/edit)
... |
[Question]
[
**Closed**. This question needs [details or clarity](/help/closed-questions). It is not currently accepting answers.
---
**Want to improve this question?** Add details and clarify the problem by [editing this post](/posts/264818/edit).
Closed 6 months ago.
[Improve this question](/posts/264818/ed... |
[Question]
[
**This question already has answers here**:
[Numbers with Rotational Symmetry](/questions/77866/numbers-with-rotational-symmetry)
(43 answers)
Closed 3 years ago.
# Strobogrammatic Numbers
---
### Definition
A number which is rotationally symmetrical, i.e., it'll appear the same when rotated b... |
[Question]
[
Simple question!
Given a string that contains a date in ISO8601 format, print the first of the next month in ISO8601 format.
Example inputs:
`2018-05-06`
`2019-12-20`
Their respective outputs:
`2018-06-01`
`2020-01-01`
The rules:
* Imports are free and don't count towards your score.
* The date will ... |
[Question]
[
Inspired by [Digits in their lanes](https://codegolf.stackexchange.com/questions/160409/digits-in-their-lanes)
## Input:
An ASCII-art of width ≤ 11, consisting of spaces and `#`. (You can choose any two distinct characters instead.) Example:
```
#
###
#
#
# #... |
[Question]
[
Your goal in this code golf is to compile all the Stack Exchange sites' favicons.
---
## Getting the Domains
The domains you will be using will be:
* `*.stackexchange.com`
* `stackexchange.com`
* `stackoverflow.com`
* `superuser.com`
* `serverfault.com`
* `askubuntu.com`
* `mathoverflow.net`
* `stack... |
[Question]
[
**This question already has answers here**:
[Sᴍᴀʟʟ Cᴀᴘꜱ Cᴏɴᴠᴇʀᴛᴇʀ](/questions/60443/s%e1%b4%8d%e1%b4%80%ca%9f%ca%9f-c%e1%b4%80%e1%b4%98%ea%9c%b1-c%e1%b4%8f%c9%b4%e1%b4%a0%e1%b4%87%ca%80%e1%b4%9b%e1%b4%87%ca%80)
(22 answers)
Closed 7 years ago.
Turn the characters `abcdefghijklmnopqrstuvwxyz!?.... |
[Question]
[
If elected president, Donald Trump plans to implement a system of four income tax brackets (full details can be found on his website [here](https://www.donaldjtrump.com/positions/tax-reform)). Your job is to take two inputs, annual income and filing status (single, married, or head of household), and... |
[Question]
[
I decided to learn J so that I could better take part in code golfing. Starting it off relatively simple, I tried writing a solution to this problem:
>
> Find the sum of all the multiples of 3 or 5 below 1000.
>
>
>
After a bit of tinkering, I came up with the following J code that solves it:
```... |
Subsets and Splits
Python Q&A Count
Counts the number of questions and answers related to Python in the dataset, providing insight into the prevalence of Python content.