text
stringlengths
180
608k
[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/17209/edit). Closed 1 year ago. [Improve this question](/posts/17209/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/10558/edit). Closed 2 years ago. [Improve this question](/posts/10558/edit)...
[Question] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- **Want to improve this question?** [Update the question](/posts/8763/edit) so it's [on-topic](/help/on-topic) for Code Golf Stack Exchange. Closed 11 years ago. [Improve this question](/po...
[Question] [ Given n points, choose a point in the given list such that the sum of distances to this point is minimum ,compared to all others. Distance is measured in the following manner. For a point (x,y) all 8 adjacent points have distance 1. ``` (x+1,y)(x+1,y+1),(x+1,y-1),(x,y+1),(x,y-1),(x-1,y)(x-1,y+1),(x-1...
[Question] [ I am sorry for the very long description. But i think some information of how `/proc/self/cmdline` works and how it can be used to get a integer input was necessary. You may skip the sections you don't need. While part of this task is related to C and Linux, it can be done in any almost language that...
[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/248857/edit). Closed 1 year ago. [Improve this question](/posts/248857/edit...
[Question] [ Consider the equation $$\frac x {y+z} + \frac y {x+z} + \frac z {x+y} = n$$ for positive integers \$x, y, z\$ and \$n \ge 4\$. Your code will receive \$n\$ as an input, and output three integers \$x, y\$ and \$z\$ such that the equation holds. You may assume that a solution always exists. ## Backgrou...
[Question] [ Looking at the following hackerrank problem: <https://www.hackerrank.com/challenges/flatland-space-stations> You are given a number n where cities can be at indices 0 to n-1 and also given an unsorted list of indices of cities where there are stations. The goal is to find the maximum distance from a ...
[Question] [ In an attempt to “liberate” their fellow birds, a group of highly intelligent hens are attempting to compromise the zoo’s security system. To get access to the zoo’s mainframe, the hens first need to guess the administrative password. The hens know that the password is a string built from up to 62 po...
[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/199209/edit). Closed 4 years ago. [Improve this question](/posts/199209/edi...
[Question] [ **This question already has an answer here**: [Calculate the a ^ b WITHOUT using \*, / and ^ [duplicate]](/questions/78942/calculate-the-a-b-without-using-and) (1 answer) Closed 5 years ago. The challenge is to implement a function or program that takes two numbers, \$x\$ and \$y\$ and return ...
[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/176301/edit). Closed 5 years ago. [Improve this question](/posts/176301/edi...
[Question] [ **This question already has answers here**: [Gamma Function Golf](/questions/63887/gamma-function-golf) (12 answers) Closed 5 years ago. # Introduction We know that the factorial notation is valid for all natural numbers. However, Euler had extended it for all positive real numbers, as well as...
[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/90685/edit). Closed 7 years ago. [Improve this question](/posts/90685/edit)...
[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 7 years ag...
[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 7 years ag...
[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 7 years ag...
[Question] [ **This question already has answers here**: [Write the shortest self-identifying program (a quine variant)](/questions/11370/write-the-shortest-self-identifying-program-a-quine-variant) (48 answers) Closed 7 years ago. A narcissist program is simple. It is related to a quine. If the input is e...
[Question] [ I'm retiling my kitchen with different coloured tiles. In fact, it's going to have at least 2 colours - and 26 colours as a maximum. But, I'm fussy. I want this wall to look random, but sometimes [random isn't random enough](https://apple.stackexchange.com/questions/23194/why-isnt-itunes-shuffle-rand...
[Question] [ **Closed**. This question needs to be more [focused](/help/closed-questions). It is not currently accepting answers. --- **Want to improve this question?** Update the question so it focuses on one problem only by [editing this post](/posts/60312/edit). Closed 8 years ago. [Improve this question](...
[Question] [ C/C++ use double quotes `""` for making string literals. If I want the double-quote itself, or certain other characters, to appear in the string, I have to escape them, like so: ``` char *s2 = "This is not \"good\".\nThis is awesome!\n"; ``` Here, I used `\"` to represent a double-quote, and `\n` to ...
[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 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 9 years ag...
[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 9 years ago. [Improve this que...
[Question] [ **This question already has answers here**: [Solve the knapsack problem](/questions/3731/solve-the-knapsack-problem) (5 answers) Closed 9 years ago. Because there isn't enough xkcd on PPCG... ![](https://imgs.xkcd.com/comics/np_complete.png) ## Challenge The challenge is the same as above - gi...
[Question] [ Create a program that output's itself as a series of punch cards: ![Computer Punch Card from the 70s](https://i.stack.imgur.com/NJhTK.jpg) **Rules:** * You can use any programming language. * The output (i.e. punch cards) can be ASCII art. * Each line of code must be able to be punched into a single ...
[Question] [ **This question already has answers here**: [Convert 1, 2, 3, 4, 5, 6, 7, 8, and 9 to "one", "two", "three", etc](/questions/32151/convert-1-2-3-4-5-6-7-8-and-9-to-one-two-three-etc) (73 answers) [Converting integers to English words](/questions/12766/converting-integers-to-english-words) (14...
[Question] [ **Closed**. This question needs to be more [focused](/help/closed-questions). It is not currently accepting answers. --- **Want to improve this question?** Update the question so it focuses on one problem only by [editing this post](/posts/23286/edit). Closed 9 years ago. [Improve this question](...
[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/20986/edit). Closed 10 years ago. [Improve this question](/posts/20986/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/10756/edit). Closed 2 years ago. [Improve this question](/posts/10756/edit)...
[Question] [ Consider an \$n \times n\$ grid of integers which is part of an infinite grid. The top left coordinate of the \$n \times n\$ grid of integers is \$(0, 0)\$. The task is to find a circle which when overlaid on the grid gives the largest sum of values inside it. The constraints are: * The circle has it...
[Question] [ Write a program that precisely clones GNU `cat` version 8.32, which is installed on my computer. In any case, if called with the same arguments, same stdin, and same files, your program's output to both stdout and stderr must by byte-for-byte identical to that of GNU `cat`, and the exit code must be ...
[Question] [ **This question already has an answer here**: [Gotta Match Them All! Write a regex to match the original 151 Pokemon but no subsequent Pokemon](/questions/47582/gotta-match-them-all-write-a-regex-to-match-the-original-151-pokemon-but-no-sub) (1 answer) Closed 5 months ago. What is the shortest...
[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 2 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/219421/edit). Closed 2 years ago. [Improve this question](/posts/219421/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/217002/edit). Closed 3 years ago. [Improve this question](/posts/217002/edi...
[Question] [ **This question already has answers here**: [Narcissistic Quine [duplicate]](/questions/198515/narcissistic-quine) (11 answers) Closed 4 years ago. Simple task, write a program/function that returns error **if and only if** presented with itself. The program must give a valid output for any in...
[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/196663/edit). Closed 4 years ago. [Improve this question](/posts/196663/edi...
[Question] [ At 1998, Brian Kernighan, while working on the book "The Practice of Programming", wanted to demonstrate realisation of regular expression engine. But struggled to find *small* engine, that cod could fit in the book. So Brian Kernighan asked Rob Pike to write one for him, and Rob [did it](http://www....
[Question] [ **This question already has answers here**: [Base Conversion With Strings](/questions/69155/base-conversion-with-strings) (9 answers) Closed 5 years ago. This is a code golf puzzle: shortest byte count wins. The program should do the following ([standard loopholes](https://codegolf.meta.stacke...
[Question] [ **This question already has answers here**: [Display "Happy Easter!"](/questions/76331/display-happy-easter) (26 answers) Closed 6 years ago. Ouput the following banner: ``` _____ _ _____ _ __ / ____| | | / ____| | |/ _| | | ___ __| | ___ ...
[Question] [ **This question already has answers here**: [Find the capacity of 2D printed objects](/questions/69298/find-the-capacity-of-2d-printed-objects) (12 answers) Closed 6 years ago. **Imagine a histogram.** Pour an infinite amount of water on to it. Then stop. How much water does the histogram hold...
[Question] [ **This question already has answers here**: [Write the shortest self-identifying program (a quine variant)](/questions/11370/write-the-shortest-self-identifying-program-a-quine-variant) (48 answers) Closed 7 years ago. A standard (but disputed) test of self-awareness is the mirror test: An ani...
[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] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- This site is for programming contests and challenges. **General programming questions** are off-topic here. You may be able to get help on [Stack Overflow](http://stackoverflow.com/about)...
[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/83503/edit). Closed 7 years ago. [Improve this question](/posts/83503/edit)...
[Question] [ This question got me nostalgic: [Build a word generator!](https://codegolf.stackexchange.com/questions/78964/build-a-word-generator) In the '80s I wrote a simple word generator in under 42kB (code and working memory) that would take a collection of strings and use them to create new words and phrases...
[Question] [ # Input A single string, which contains no whitespace, as a command-line argument. # Output If the string is not a valid [algebraic notation](https://en.wikipedia.org/wiki/Algebraic_notation_%28chess%29) pawn promotion, produce no output and exit. If the string is a valid pawn promotion, convert it t...
[Question] [ **This question already has answers here**: [Counter counter](/questions/51877/counter-counter) (24 answers) Closed 8 years ago. Given an input string, determine the number of regions that a page will be split into. Consider the letter `P`. It has one enclosed region within the letter. Assume ...
[Question] [ The [Myriad System](http://googology.wikia.com/wiki/-yllion) is an alternative system for naming large numbers proposed by Donald Knuth in 1981. In this system, numbers up to 999 are named as they are normally, but 1000 is not given a special name and is instead named as "ten hundred"; the next bench...
[Question] [ **This question already has answers here**: [Tips for golfing in Befunge](/questions/16090/tips-for-golfing-in-befunge) (15 answers) Closed 8 years ago. What general tips do you have for golfing in Befunge 93? I'm looking for ideas that can be applied to code golf problems in general that are ...
[Question] [ **This question already has answers here**: [Length of String Using Set Theory](/questions/25642/length-of-string-using-set-theory) (21 answers) Closed 8 years ago. Write a program in any language that takes a single natural number *n* as input and generates a [Pyth](https://github.com/isaacg1...
[Question] [ **This question already has answers here**: [Convert a bytes array to base64](/questions/26584/convert-a-bytes-array-to-base64) (13 answers) Closed 8 years ago. Write two functions of one line each that can encode and decode base64. * Use any language you want, but if the language can naturall...
[Question] [ **This question already has answers here**: [Solving Mastermind in 6 or less moves](/questions/5226/solving-mastermind-in-6-or-less-moves) (3 answers) Closed 9 years ago. This is a code golf challenge to see the shortest implementation of an automated guesser in the pen and paper game [bulls a...
[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 9 years ago. [Improve this que...
[Question] [ **This question already has answers here**: [Basic Algebraic Expansion](/questions/33248/basic-algebraic-expansion) (3 answers) Closed 9 years ago. I was annoyed the other day when I got a point off in math class because I didn't distribute the factors of my function. That is, I put (x+2)(x-3...
[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/26067/edit). Closed 9 years ago. [Improve this question](/posts/26067/edit)...
[Question] [ **This question already has answers here**: [Twinkle Twinkle Little Star](/questions/272/twinkle-twinkle-little-star) (19 answers) Closed 10 years ago. Try to regenerate the olympic theme song, "Bugler's Dream" using the programming language of your choice. The language/platform used must be a...
[Question] [ For this challenge, write program `A` that when given no input, prints the code for `A` (a quine), but when given input, the output will be modified. The input for `A` will be 0 or more statements in whichever language `A` is programmed. The output of `A` will be the code for program `B` which runs t...
[Question] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- **Want to improve this question?** [Update the question](/posts/7142/edit) so it's [on-topic](/help/on-topic) for Code Golf Stack Exchange. Closed 11 years ago. [Improve this question](/po...
[Question] [ We need to produce a block cipher round function with a 1 bit round key size and a 7 bit message size with the highest level of cryptographic security according to our measure of security. # Introduction We are going to need new symmetric encryption functions. We are at the point where we cannot impr...
[Question] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- This site is for programming contests and challenges. **General programming questions** are off-topic here. You may be able to get help on [Stack Overflow](http://stackoverflow.com/about)...
[Question] [ The ***[Catalan numbers](https://en.wikipedia.org/wiki/Catalan_number)*** ([OEIS](https://oeis.org/A000108)) are a sequence of natural numbers often appearing in combinatorics. The nth Catalan number is the number of Dyck words (balanced strings of parenthesis or brackets such as `[[][]]`; formally d...
[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 months ago. [Improve this qu...
[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 months ago. [Improve this qu...
[Question] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- This site is for programming contests and challenges. **General programming questions** are off-topic here. You may be able to get help on [Stack Overflow](http://stackoverflow.com/about)...
[Question] [ The [Quine-McCluskey](https://en.wikipedia.org/wiki/Quine%E2%80%93McCluskey_algorithm) algorithm merges disjunctors in a disjunction like $$ \lnot x\_0 \land \lnot x\_1 \land \lnot x\_2 \land \lnot x\_3 \lor\\ x\_0 \land \lnot x\_1 \land x\_2 \land \lnot x\_3 \lor\\ \lnot x\_0 \land x\_1 \land x\_2 ...
[Question] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- This site is for programming contests and challenges. **General programming questions** are off-topic here. You may be able to get help on [Stack Overflow](http://stackoverflow.com/about)...
[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/251124/edit). Closed 1 year ago. [Improve this question](/posts/251124/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/247878/edit). Closed 1 year ago. [Improve this question](/posts/247878/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/239742/edit). Closed 2 years ago. [Improve this question](/posts/239742/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/237262/edit). Closed 2 years ago. [Improve this question](/posts/237262/edi...
[Question] [ This is based on a game one of my math teachers used to play in middle school. He would write 5 random one-digit numbers on the board, and then a random two-digit number. We would try to create an equation that used all 5 of the one-digit numbers to yield the two-digit number. Here are some examples ...
[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/235561/edit). Closed 2 years ago. [Improve this question](/posts/235561/edi...
[Question] [ This question is about moving stacks around in the card game [FreeCell](https://en.wikipedia.org/wiki/FreeCell), but here it will be presented more abstractly. Given three integers \$0\le n,m<10000,0<k<10000\$. There are \$m+2\$ columns, \$m\$ of them empty and two of them contain cards (from bottom ...
[Question] [ Your function or program should take a year as input and return (or print) the date (in the Gregorian calendar) of that years Easter (not the Eastern Orthodox Easter). The date returned should be formatted according to ISO 8601, but with support for years greater than 9999 (such as *312013-04-05* or ...
[Question] [ Sona is in her house with her 10 year old daughter. She needs to go to school to bring back another child from school, as school is over at 2 pm. It's hot outside, so she wants to leave her younger child at home. She gave a bunch of strings to her child to keep her busy while she is gone. She asked h...
[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 2 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/223153/edit). Closed 2 years ago. [Improve this question](/posts/223153/edi...
[Question] [ **This question already has answers here**: [Check if input is permutation of source [duplicate]](/questions/90154/check-if-input-is-permutation-of-source) (1 answer) [Determine whether strings are anagrams](/questions/1294/determine-whether-strings-are-anagrams) (162 answers) Closed 2 year...
[Question] [ So... uh... this is a bit embarrassing. But we don't have a plain "Hello, World!" challenge yet (despite having 35 variants tagged with [hello-world](/questions/tagged/hello-world "show questions tagged 'hello-world'"), and counting). While this is not the most interesting code golf in the common lan...
[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/209242/edit). Closed 3 years ago. [Improve this question](/posts/209242/edi...
[Question] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- This site is for programming contests and challenges. **General programming questions** are off-topic here. You may be able to get help on [Stack Overflow](http://stackoverflow.com/about)...
[Question] [ You must write a program or function that takes a string of brackets and outputs whether or not that string is fully matched. Your program should print a [truthy or falsy](http://meta.codegolf.stackexchange.com/questions/2190/interpretation-of-truthy-falsey) value, and IO can be in any [reasonable fo...
[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/199118/edit). Closed 4 years ago. [Improve this question](/posts/199118/edi...
[Question] [ I thought this would be a fun challenge for everyone and I'm curious to see the solutions people come up with. Print the "12 Days Of Christmas" lyrics ``` On the first day of Christmas, my true love gave to me, A partridge in a pear tree. On the second day of Christmas, my true love gave to me, Tw...
[Question] [ This isn't very widely known, but what we call the Fibonacci sequence, AKA ``` 1, 1, 2, 3, 5, 8, 13, 21, 34... ``` is actually called the *Duonacci* sequence. This is because to get the next number, you sum the previous 2 numbers. There is also the *Tribonacci* sequence, ``` 1, 1, 1, 3, 5, 9, 17, 31,...
[Question] [ Using your language of choice, golf a [quine](http://en.wikipedia.org/wiki/Quine_%28computing%29). > > A **quine** is a non-empty computer program which takes no input and produces a copy of its own source code as its only output. > > > No cheating -- that means that you can't just read the sourc...
[Question] [ Write a program that will generate a "true" output [iff](http://en.wikipedia.org/wiki/If_and_only_if) the input matches the source code of the program, and which generates a "false" output iff the input does not match the source code of the program. This problem can be described as being related to q...
[Question] [ # The Problem I have a bunch of regular expressions that I need to use in some code, but I'm using a programming language that doesn't support regex! Luckily, I know that the test string will have a maximum length and will be composed of printable ASCII only. # The Challenge You must input a regex an...
[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/185462/edit). Closed 4 years ago. [Improve this question](/posts/185462/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/183156/edit). Closed 4 years ago. [Improve this question](/posts/183156/edi...
[Question] [ A radiation-hardened program is a program where, if any character of the code is removed, the program will still function the same. For this question, we'll be writing a program that detects when it is irradiated. Write a program or function that, when *any* single byte is removed, the resulting prog...
[Question] [ This one comes from a real life problem. We solved it, of course, but it keeps feeling like it could have be done better, that it's too lengthy and roundabout solution. However none of my colleagues can think of a more succinct way of writing it. Hence I present it as code-golf. The goal is to conver...
[Question] [ Alternate name: `ChessMoveQ` Given a list of up to 32 elements, each consisting of 4 elements, and a second list with 4 elements, determine whether the move detailed in the second input is a valid chess move. The first list indicates the position of all 32 pieces on the board. Each element will follo...
[Question] [ # Goal You will be given a positive integer number less than 10^20. You must convert it to Korean. For example, if the input is `12345`, the output should be `일만이천삼백사십오`. # Technical details (Small) Let's starts with simple numbers. ``` // 1 - 9 1 -> 일 2 -> 이 3 -> 삼 4 -> 사 5 -> 오 6 -> 육 7 -> 칠 8 -> 팔...
[Question] [ You must write a program or function that takes a string of brackets and outputs whether or not that string is fully matched. Your program should print a [truthy or falsy](http://meta.codegolf.stackexchange.com/questions/2190/interpretation-of-truthy-falsey) value, and IO can be in any [reasonable fo...
[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 5 years ago. [Improve this que...
[Question] [ # Task Given an array of non-negative integers `a`, determine the minimum number of rightward jumps required to jump "outside" the array, starting at position 0, or return zero/null if it is not possible to do so. A *jump* from index `i` is defined to be an increase in array index by at most `a[i]`. ...
[Question] [ Using your language of choice, golf a [quine](http://en.wikipedia.org/wiki/Quine_%28computing%29). > > A **quine** is a non-empty computer program which takes no input and produces a copy of its own source code as its only output. > > > No cheating -- that means that you can't just read the sourc...