### Communities

tag:snake search within a tag
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
created:<1w created < 1 week ago
post_type:xxxx type of post
Challenges

Code challenges of all types. For questions about golfing, bowling, etc, use Q&A. For questions about this community, use Meta. To get feedback on a challenge before posting it, use Sandbox.

121 posts ·
80%
+6 −0

A Juggler sequence is a sequence that begins with a positive integer $a_0$ and each subsequent term is calculated as: a_{k+1} = \begin{cases} \left \lfloor a_k ^ \frac 1 2 \right \rfloor, &amp;...

9 answers  ·  posted 1y ago by caird coinheringaahing‭  ·  last activity 1y ago by Shaggy‭

66%
+2 −0

CGCC Sandbox, Codidact Sandbox Given three positive integers as input, animate an ascii-art polygonal loading symbol on the screen. Intro Using the first input $n$, Take one the following regul...

1 answer  ·  posted 2y ago by Razetime‭  ·  edited 1y ago by General Sebast1an‭

71%
+3 −0

SE Sandbox Link, Codidact Sandbox Link Inspired by this video. Given a positive integer, draw its Cistercian representation as ascii art. The Challenge Cistercian numerals are a decimal-based...

1 answer  ·  posted 2y ago by Razetime‭  ·  edited 1y ago by General Sebast1an‭

77%
+5 −0

Idea shamelessly stolen from caird and rak1507 Shuffle a subset of a list of unique, positive integers with uniform randomness, given the indices of that subset. For example, given the list $[A, B... 4 answers · posted 1y ago by user‭ · edited 1y ago by General Sebast1an‭ 80% +6 −0 Using your languages of choice, golf a quine - a non-empty program taking no input and only outputting its source. Here, the win condition is your quine working in the most languages. It should be... 1 answer · posted 1y ago by AndrewTheCodegolfer‭ · last activity 1y ago by General Sebast1an‭ 77% +5 −0 Abundant numbers are numbers which are less than their proper divisor sum. For example$18$is abundant as$1 + 2 + 3 + 6 + 9 = 21 &gt; 18$Deficient numbers are numbers which are greater than the... 8 answers · posted 1y ago by caird coinheringaahing‭ · last activity 1y ago by General Sebast1an‭ 84% +9 −0 Heavily based on this closed challenge from SE. Description A Sumac sequence starts with two non-zero integers$t_1$and$t_2.$The next term,$t_3 = t_1 - t_2$More generally,$t_n = t_{n-2} ...

9 answers  ·  posted 2y ago by Razetime‭  ·  edited 1y ago by General Sebast1an‭

77%
+5 −0

ROBBERS' THREAD A famous cops-and-robbers challenge whose source shall remain unnamed is brought to Codidact. You are a cop. You should write a program in a "famous" (has an English Wikipedia/Eso...

16 answers  ·  posted 1y ago by AndrewTheCodegolfer‭  ·  last activity 1y ago by Shaggy‭

71%
+3 −0

COPS THREAD A famous cops-and-robbers challenge whose source shall remain unnamed is brought to Codidact. You are a robber. Your goal is to find answers on this link which haven't been cracked an...

12 answers  ·  posted 1y ago by AndrewTheCodegolfer‭  ·  last activity 1y ago by m90‭

81%
+7 −0

Challenge Given an array consisting of positive integers and 0s, return it with 0s acting like backspaces. Leading backspaces do nothing, and more backspaces than elements also does nothing. Cre...

6 answers  ·  posted 1y ago by rak1507‭  ·  last activity 1y ago by Shaggy‭

77%
+5 −0

Challenge You will be given a string and an ascii art as input. The string must be placed above the ascii art, and centered based on its longest line. The text BOTTOM TEXT must be placed below...

4 answers  ·  posted 1y ago by Razetime‭  ·  last activity 1y ago by user‭

71%
+3 −0

The Rules In this game, each round, every player faces off against every other player in a round robin format. In each match, players pick 3 positive integers that sum to 360. Let's say player 1 p...

2 answers  ·  posted 1y ago by Quintec‭  ·  last activity 1y ago by Moshi‭

77%
+5 −0

About Negabinary Negabinary means base negative two (-2). That is, the $n$th place value is determined by $(-2)^n$. Negabinary numbers can be evaluated just like any other base system. For exampl...

3 answers  ·  posted 1y ago by Moshi‭  ·  last activity 1y ago by Shaggy‭

60%
+1 −0

Make the Server Fault logo using the following criteria: The boxes' measurements: There are 3 columns of 5 boxes, with long ones at the left where the rest are regular. The following measure...

0 answers  ·  posted 1y ago by General Sebast1an‭

77%
+5 −0

Write the shortest program that takes no input and outputs a Sudoku solution. For reference, a Sudoku solution is a 9x9 grid of digits where each column, each row and each of the nine 3x3 grids th...

4 answers  ·  posted 1y ago by AndrewTheCodegolfer‭  ·  last activity 1y ago by Shaggy‭

81%
+7 −0

Description APL trains are a series of functions, that get applied to an argument in this way: (f g) x = f g x (f g h) x = (f x) g (h x) (a b c d e f) x = (a (b c (d e f))) x = a (b x) c (d x) ...

7 answers  ·  posted 1y ago by rak1507‭  ·  last activity 1y ago by Shaggy‭

77%
+5 −0

Note: This challenge was underspecified and bad, and as such I would not encourage answering it in the future. Challenge You will be given a single 2D boolean array $M$. You may take its dimensi...

1 answer  ·  posted 2y ago by rak1507‭  ·  edited 1y ago by rak1507‭

87%
+12 −0

Print or return this exact text: 0 0 0 0 1 0 0 1 1 0 0 1 2 1 0 ...

5 answers  ·  posted 2y ago by Sisyphus‭  ·  last activity 1y ago by Marshall Lochbaum‭

71%
+3 −0

Define a cool number as a number whose proper divisors (all except for the number itself) have an integral mean. Define a really cool number as a number whose divisors (including itself) are all co...

3 answers  ·  posted 2y ago by Quintec‭  ·  last activity 2y ago by user‭

75%
+4 −0

Challenge Given a date with day, month and year, calculate how old a person born on that day would be today. Input can be in any reasonable format(params, array, date object). Input will never b...

0 answers  ·  posted 2y ago by Razetime‭

81%
+7 −0

The task is to take a decimal integer as input and print the corresponding Roman numeral with capital letters. The program must handle all positive integer numbers between 1 and 1000. Input can be...

3 answers  ·  posted 2y ago by Lundin‭  ·  last activity 2y ago by Lundin‭

Featured
Hot Posts

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!

Like what we're doing? Support us!