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/26905/edit). Closed 9 years ago. [Improve this question](/posts/26905/edit)...
[Question] [ # Sussing It Out (The Core Part) How good is your logical reasoning? In this challenge, you'll rewrite an existing program that solves simple logic puzzles like those published in Dell, Penny Press, and other magazines. ## The Details In a logic puzzle, a finite, countable set of attributes is used t...
[Question] [ **This question already has answers here**: [Largest Number Printable](/questions/18028/largest-number-printable) (93 answers) Closed 6 years ago. This is a brainfuck version of [Largest Number Printable](https://codegolf.stackexchange.com/questions/18028/largest-number-printable), and [this](...
[Question] [ **This question already has answers here**: [Connect-n time!](/questions/65977/connect-n-time) (12 answers) Closed 6 years ago. # Four-In-A-Row AI Tournament Today, we will be playing a [Four-In-A-Row](https://en.wikipedia.org/wiki/Connect_Four) tournament. However, it is not us humans playing...
[Question] [ **This question already has answers here**: [Find sum of odd numbers](/questions/2487/find-sum-of-odd-numbers) (6 answers) Closed 7 years ago. ## Challenge Given an integer `n`, calculate the sum of **all even numbers** between 0 and `n` ## Examples ``` n output ------------- 100 2550 25...
[Question] [ **This question already has answers here**: [Electron Configurations](/questions/37657/electron-configurations) (6 answers) Closed 7 years ago. Given a atomic number, print how many electrons are in each shell of the element that the atomic number corresponds to. ## Expected input/output: ``` ...
[Question] [ **This question already has answers here**: [Convert from binary to negabinary](/questions/4447/convert-from-binary-to-negabinary) (12 answers) Closed 7 years ago. We already have a [base conversion question](https://codegolf.stackexchange.com/questions/69155/base-conversion-with-strings), but...
[Question] [ **This question already has answers here**: [Rotate an ASCII art image](/questions/5194/rotate-an-ascii-art-image) (5 answers) [Rotate simple ASCII art [closed]](/questions/20154/rotate-simple-ascii-art) (11 answers) Closed 9 years ago. ## Rules * Write a program in a language of your choic...
[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. As the title suggests, my task is fairly straightforward: Write a program...
[Question] [ ## The program Given a number, program must return the alphabet letter correspondent. ## Rules * The challenge here is to make it as short as possible, everyone knows it is a very easy program to do. * The number is not zero-based, it means `1` is `A`, `2` is `B`, `3` is `C` and so it goes... * Any l...
[Question] [ Given an input array having minimum length `2` and maximum length `9` having any initial values output an array having length `2` consisting of the 1-based indexes of the array represented as either an integer or string in forward and reverse order. The values of the array or string do not matter and...
[Question] [ **This question already has answers here**: [Operations with Lists](/questions/6257/operations-with-lists) (17 answers) Closed 7 years ago. ## Mama Say Mama Sa Mama Coosa I'm sure all of you have heard of Michael Jackson and some of you have listened to MJ's song "Wanna be starting something"....
[Question] [ **This question already has answers here**: [We're no strangers to code golf, you know the rules, and so do I](/questions/6043/were-no-strangers-to-code-golf-you-know-the-rules-and-so-do-i) (73 answers) Closed 8 years ago. Print or return these lyrics: ``` Dea Mortis, iuravi Carissimam servatu...
[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 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/3359/edit). Closed 7 years ago. [Improve this question](/posts/3359/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/124570/edit). Closed 6 years ago. [Improve this question](/posts/124570/edi...
[Question] [ Write two functions/programs which take an ASCII code of character (8-bit unsigned integer) and one of them converts char to uppercase and other to lowercase. That is, they must be equivalent to following functions: ``` unsigned char toUpper(unsigned char c){ if (c >= 97 && c <= 122) return c - 3...
[Question] [ **This question already has answers here**: [Run Length Decoding](/questions/12902/run-length-decoding) (51 answers) Closed 7 years ago. Your task is to take an input, for example: `a,b,4,5` And produce an output, which per this example is `aaaabbbbb` `a,b,4,5` means: the lowercase character "...
[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/200722/edit). Closed 3 years ago. [Improve this question](/posts/200722/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/6454/edit). Closed 2 years ago. [Improve this question](/posts/6454/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] [ **This question already has answers here**: [Palindrome Hello, World](/questions/59527/palindrome-hello-world) (65 answers) Closed 7 years ago. Your Task: Print "Hello, World!" using a palindrome. Simple, right? Nope. # You have one restriction: **you may not use comments.** "Comments" includ...
[Question] [ Optimize the following function for **number of tokens**: ``` int length(int x) { switch (x) { case 1: return 1; case 3: return 2; case 7: return 3; case 15: return 4; case 31: return 5; case 63: return 6; case 127: return 7; case 255: return 8; case 511: r...
[Question] [ **This question already has answers here**: [Smallest unique number KoTH](/questions/172178/smallest-unique-number-koth) (42 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 resolved > > >...
[Question] [ # Background When you run `tail -f file` in bash, the file is outputted and then any subsequent appends. However, when you remove something that has already been displayed, `tail` outputs: ``` tail: nameoffile: file truncated ``` # Your Challenge When given an input `f`, append `tail: [value of f]...
[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 1 year ago...
[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/97013/edit). Closed 7 years ago. [Improve this question](/posts/97013/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 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 shortest C# code that generates an uncatchable ExecutionEngineException wins. You are not allowed to call FailFast directly or indirectly. [Answer] # C# - 73 ``` ThreadPool.QueueUserWorkItem(_=>{throw new ExecutionEngineException();}); ``` Generates an `ExecutionEngineException` inside of ...
[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/17844/edit). Closed 9 years ago. [Improve this question](/posts/17844/edit)...
[Question] [ You are given an array of strings , you have to construct a single array containing all of them so that the same array of strings can be reconstructed from the large array. The strings may contain any ASCII character. How to determine length of the single large array? Example= let `a = ["asd";"dfg";"...
[Question] [ ## Challenge Implement a program that given three strings `a`, `b`, and `c`, substitutes all instances of the substring `b` in `a` with `c`. In other words, implement Ruby's `String#gsub` with strings instead of regexes (`a.gsub b, c`). ## Rules * Standard loopholes apply. * You may not use a builtin...
[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/15952/edit). Closed 10 years ago. [Improve this question](/posts/15952/edit...
[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/187338/edit). Closed 4 years ago. [Improve this question]...
[Question] [ From [the wikipedia](https://en.wikipedia.org/wiki/Net_neutrality): > > Net neutrality is the principle that Internet service providers and governments regulating the Internet should treat all data on the Internet the same, not discriminating or charging differentially by user, content, website, pla...
[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/116592/edit). Closed 6 years ago. [Improve this question](/posts/116592/edi...
[Question] [ **This question already has answers here**: [The alphabet in programming languages](/questions/2078/the-alphabet-in-programming-languages) (156 answers) Closed 7 years ago. The challenge: Write a script to print the alphabet, but you can't use any ASCII strings in your program. Unicode escape ...
[Question] [ **This question already has answers here**: [1/N probability](/questions/66922/1-n-probability) (49 answers) Closed 8 years ago. If you're not familiar, [Diceware](https://en.wikipedia.org/wiki/Diceware) is a method for creating passwords using an ordinary die from a pair of dice as a hardware...
[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**: [Code golf edit distance 2](/questions/202974/code-golf-edit-distance-2) (4 answers) Closed 2 years ago. The **edit distance** between two strings is the minimum number of single character insertions, deletions and substitutions needed to transform o...
[Question] [ **This question already has answers here**: [Determine the depth of an array](/questions/71476/determine-the-depth-of-an-array) (53 answers) Closed 7 years ago. Find out the dimension of a simple nested list: ``` [] -> 1 [[]] -> 2 [[[]]] -> 3 ... ``` List taken as input, dimension as output. N...
[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/187752/edit). Closed 4 years ago. [Improve this question](/posts/187752/edi...
[Question] [ John has made an array of numbers which are important to him. Unfortunately, John lost the array. Luckily, he knows some details about the array. You will receive each of these sets of details (which are lists of 3 integers). Each detail is the sum of a section of the list. Each has the numbers `a`...
[Question] [ **This question already has answers here**: [What do you get when you multiply 6 by 9? (42)](/questions/124242/what-do-you-get-when-you-multiply-6-by-9-42) (87 answers) Closed 6 years ago. Thank you for you help fixing my [calculator](https://codegolf.stackexchange.com/q/124242/61474)'s multip...
[Question] [ I work from Monday to Friday. I start my day at `8:12` and have lunch from `12:00` to `12:42`. My workday ends at `16:30`. If you are wondering why 8:12 and 12:42: * `8:00` is the goal, but I never actually make it * `12:42` because I take 45 minute breaks, but this works better for the challenge spe...
[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/25274/edit). Closed 9 years ago. [Improve this question](/posts/25274/edit)...
[Question] [ **This question already has answers here**: [Obfuscated Hello World](/questions/307/obfuscated-hello-world) (145 answers) Closed 5 years ago. This challenge is pretty simple: you need to alert / print / show to the user the text "beep boop bop" (or "beep\nboop\nbop", with newlines), but it nee...
[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/176247/edit). Closed 5 years ago. [Improve this question](/posts/176247/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/111032/edit). Closed 6 years ago. [Improve this question](/posts/111032/edi...
[Question] [ [ed](https://en.wikipedia.org/wiki/Ed_(text_editor)) is the standard text editor on Unix systems. Your goal is to write an ed clone. ## Task Write a program that reads an input stream and for every received end of line character, print `?` followed by a end of line character. * The communication has ...
[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] [ Let's assume that $$ f(x) = \frac{Ax+B}{Cx+D} $$ Where, \$x\$ is a variable and \$A\$,\$B\$,\$C\$,\$D\$ are constants. Now we have to find out the inverse function of \$f(x)\$, mathematically \$f^{-1}(x)\$, To do this first we assume, $$ y = f(x) \\\rightarrow y=\frac{Ax+B}{Cx+D} \\\rightarrow Cxy+Dy...
[Question] [ **Closed**. This question is [opinion-based](/help/closed-questions). It is not currently accepting answers. --- **Want to improve this question?** Update the question so it can be answered with facts and citations by [editing this post](/posts/62529/edit). Closed 8 years ago. [Improve this quest...
[Question] [ In Javascript you can recover the complete language using only the symbols `()[]!+`. [Here's the basics](http://www.jsfuck.com/): ``` false => ![] true => !![] undefined => [][[]] NaN => +[![]] 0 => +[] 1 => +!+[] 2 => !+[]+!+[] 10 ...
[Question] [ Given a unicode character `C` (or the first character of a string input), output that character's hex representation. Case does not matter. The output ranges from `\u0000` to `\u9999`. Test cases ``` A => 41 (65_10 === 41_16) ʣ => 2A3 (675_10 === 2A3_16) Ω => 3A9 (937_10 === 3A9_16) 7 => 37 (55_1...
[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/125947/edit). Closed 6 years ago. [Improve this question](/posts/125947/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/26078/edit). Closed 9 years ago. [Improve this question](/posts/26078/edit)...
[Question] [ This is a little codegolf challenge from codingame.com. I was wondering how much Python3 code is necessary (but of course answers are not limited to Python3). **Input** The first line contains one positive integer n. The second line contains n positive integers. Each consecutive integers on the sec...
[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/240282/edit). Closed 2 years ago. [Improve this question](/posts/240282/edi...
[Question] [ **This question already has answers here**: [The alphabet in programming languages](/questions/2078/the-alphabet-in-programming-languages) (156 answers) Closed 10 years ago. You have to output the alphabet (upper case) with the shortest code possible. Exact output expected : `ABCDEFGHIJKLMNOPQ...
[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/233591/edit). Closed 2 years ago. [Improve this question](/posts/233591/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/83320/edit). Closed 7 years ago. [Improve this question](/posts/83320/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/2752/edit). Closed 9 years ago. [Improve this question](/posts/2752/edit) ...
[Question] [ Your task will be to write a Haskell function that takes a list of integers and returns a sorted version of the same list. You are to do this without the use of builtins ## What are builtins? To keep ourselves from having to navigate edge case hell we are going to limit answers to Haskell (sorry if H...
[Question] [ This is a very simple challenge, and it is to print the numbers `-1`, `0`, and `1`. *The following paragraph is credited to [Print numbers from 1 to 10](https://codegolf.stackexchange.com/questions/86075)* Your output format can be whatever your language supports. This includes arbitrary separators...
[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/117128/edit). Closed 6 years ago. [Improve this question](/posts/117128/edi...
[Question] [ Write a program, which outputs `I'm Blue,` and then `Da, Ba, Dee, Da, Ba, Die,` forever, **the words must be space-seperated in one line, and it must pause 0.4 to 0.6 seconds after printing each word.** Also, the text should be outputted in the color blue 0x0000FF or in ANSI escape code blues. So t...
[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/186820/edit). Closed 4 years ago. [Improve this question](/posts/186820/edi...
[Question] [ ### The Challenge: Find if a number contains a digit. The number and the digit are to be taken as input. Output must be a boolean value. But you are not allowed to use the string representation of the number at any time. Now don't count upon a `char*` either. You must devise a mathematical way to do ...
[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/240891/edit). Closed 2 years ago. The community reviewed whether to reopen ...
[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/44810/edit). Closed 9 years ago. [Improve this question](...
[Question] [ **This question already has answers here**: [The Golf (re)Sort [closed]](/questions/34898/the-golf-resort) (4 answers) Closed 9 years ago. All good coders know some good sorting algorithms like quicksort or merge sort. There is also slow sorting algorithms, e.g. bubble sort and insertion sort....
[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/15226/edit). Closed 10 years ago. [Improve this question](/posts/15226/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/199880/edit). Closed 3 years ago. [Improve this question](/posts/199880/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/187573/edit). Closed 4 years ago. [Improve this question](/posts/187573/edi...
[Question] [ This is mostly for the memes. I regret existing. # Rules * Your code has to output, by either printing or showing in stdout, the phrase `This ain't it Chief.` in that exact format. * You can only use the characters from the phrase in either format of + UTF-8 (`Aa Cc Ee Ff Hh Ii Nn Tt Ss . '`) ...
[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/139138/edit). Closed 6 years ago. [Improve this question](/posts/139138/edi...
[Question] [ **This question already has answers here**: [Reversing of Words](/questions/121149/reversing-of-words) (52 answers) Closed 6 years ago. I remember this was exam question long long long time ago. There is a file say MyFile.txt, it can be any size and contains aphanumeric only your task is to re...
[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/37087/edit). Closed 8 years ago. [Improve this question](/posts/37087/edit)...
[Question] [ [*Abracadabra* is a magic word](https://en.wikipedia.org/wiki/Abracadabra). To make it even more magical, let's make several *alterations* to how it may be written: 1. Change the casing for any subset of characters; for example: `aBrAcAdAbRa` 2. Append an exclamation mark to it: `abracadabra!` 3. Cha...
[Question] [ Not to be confused with [Is my OS 32-bit or 64-bit](https://codegolf.stackexchange.com/questions/127322/is-my-os-32-bit-or-64-bit). This one is very simple, tell me whether or not my CPU supports 64-bit instructions. If my CPU supports 32-bit instructions, print '32', if my CPU supports 64 bit instru...
[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/207138/edit). Closed 3 years ago. [Improve this question](/posts/207138/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/65003/edit). Closed 8 years ago. [Improve this question](/posts/65003/edit)...
[Question] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- **General programming questions** are off-topic here, but can be asked on [Stack Overflow](http://stackoverflow.com/about). Closed 9 years ago. [Improve this question](/posts/38680/edit) ...
[Question] [ **Closed.** This question is [off-topic](/help/closed-questions). It is not currently accepting answers. --- **General programming questions** are off-topic here, but can be asked on [Stack Overflow](http://stackoverflow.com/about). Closed 10 years ago. [Improve this question](/posts/3571/edit) ...
[Question] [ Consider a horizontal line with vertical lines centered on the x-axis and placed at gaps of \$\sqrt{2}/2\$. For a positive integer \$n \geq 3\$, the first half of the lines have lengths \$0, \sqrt{2}, 2\sqrt{2}, 3\sqrt{2}, \dots, (n-1)\sqrt{2}\$ and then the second half have lengths \$(n-2)\sqrt{2}, ...
[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/266258/edit). Closed 4 months ago. [Improve this question](/posts/266258/ed...
[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/220031/edit). Closed 2 years ago. [Improve this question](/posts/220031/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/95129/edit). Closed 7 years ago. [Improve this question](/posts/95129/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/195429/edit). Closed 4 years ago. [Improve this question](/posts/195429/edi...
[Question] [ **This question already has answers here**: [We're no strangers to code golf, you know the rules, and so do I](/questions/6043/were-no-strangers-to-code-golf-you-know-the-rules-and-so-do-i) (73 answers) Closed 9 years ago. The task here is to print the text below, using **as few characters as ...
[Question] [ **This question already has answers here**: [Binary tree fractal](/questions/105840/binary-tree-fractal) (11 answers) Closed 5 years ago. **Challenge** In this challenge you will construct trees, in the form of ASCII Art using recursion. Basically you will generate the ASCII version of the [Fr...
[Question] [ Please note that this question is different from [this question](https://codegolf.stackexchange.com/questions/3989/implement-a-graphing-calculator). This one asks for graphical output, while the other one asks for ascii art. # Objective Help! Timmy's graphing calculator broke! His calculator cannot g...
[Question] [ **This question already has answers here**: [Multiply without multiply [closed]](/questions/655/multiply-without-multiply) (17 answers) Closed 2 years ago. Your task, is simply to multiply 2 integers given in input, separated by a ",". The catch is, you cannot use the multiplication operator "...
[Question] [ This is inspired by my [python-ideas "new module loader" prank](https://github.com/kirbyfan64/pycob). Your task is to write a cat-like program that does the following: * Read the file on disk labeled `files`. Assume it exists. No error handling necessary. * The file contains a list of files separated...
[Question] [ # Guidelines ### Task Given two non-negative integers, find the sum of both numbers... to the power of 4. --- ### Examples `2, 3 -> 97` (2^4 + 3^4 = 97) `14, 6 -> 39712` (14^4 + 6^4 = 39712) `0, 25 -> 390625` (0^4 + 25^4 = 390625) --- ### Rules * You will only ever receive two non-negative integers a...
[Question] [ (Taken from <https://en.wikipedia.org/wiki/File:Tangential_quadrilateral.svg>) [![Tangential quadrilateral](https://i.stack.imgur.com/lg5ce.png)](https://i.stack.imgur.com/lg5ce.png) A tangential quadrilateral (see example above) is a quadrilateral in which a circle can be inscribed. Your task is to ...
[Question] [ **This question already exists**: [Encode the simple substitution cipher [duplicate]](/questions/98301/encode-the-simple-substitution-cipher) Closed 7 years ago. A [substitution cipher](https://en.wikipedia.org/wiki/Substitution_cipher) is an encoding method where each letter in the alphabet is r...
[Question] [ As we all know, negative press covfefe has been conspiring to bring down the American president for some months now. There's also, definitely, an algorithm in play in that word. Covfe is a refreshing caffeinated beverage, and following the president's remarks it's clear the word can now be appended w...