Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
1.6k posts
 
66%
+2 −0
Challenges Golf me a polygonal loader

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 4y ago by Razetime‭  ·  edited 3y ago by General Sebast1an‭

66%
+2 −0
Q&A Befunge Golfing Tips

Bitwise operations (WIP) Befunge, rather pointedly, lacks bitwise ops. No shifts, no and, no or, no xor. Shifts Shifts can be implemented as multiplication and division by powers of two. Shifts...

posted 4y ago by moony‭

Answer
66%
+2 −0
Challenges Bytes to Segfault

Bash, 11 kill -11 $$ Try it online!

posted 4y ago by Nominal‭

Answer
66%
+2 −0
Sandbox The Tannenbaum series

posted 4y ago by Lundin‭

Article code-golf
66%
+2 −0
Challenges Reverse an ASCII string

Bash, 3 bytes rev Try it online! Less boring: Bash, 8 bytes tac -rs. Try it online!

posted 4y ago by Sisyphus‭

Answer
66%
+2 −0
Q&A How do you play cops and robbers?

This Q&A will be used as a general guide to cops-and-robbers challenges. It is not fully inclusive of every cops-and-robbers challenge but it's a good baseline. Basic Premise Cops and Robbers...

0 answers  ·  posted 4y ago by Corsaka‭  ·  edited 4y ago by Corsaka‭

Question cops-and-robbers
66%
+2 −0
Challenges Generate Lewis Caroll's Jabberwocky

Bubblegum, 769 bytes 074cd1dc7fb6baed2f568915ffeb6aa5c775264a9a6f77eb418f0793da59b234599dadb6804269dbb5a213a05c807b0723f79512c284f46e8dbb6b0274f1b36606988b67ea58cf68beabe10f158702fcbf4c2b30d7b4f26...

posted 4y ago by Hakerh400‭

Answer
66%
+2 −0
Q&A Advice for hosting a language agnostic King of the Hill contest

Contestants should read from standard input and write to standard output. This is because almost all programming languages, including most esoteric programming languages, allow reading from standar...

posted 25d ago by celtschk‭

Answer
66%
+2 −0
Challenges Source with the whole alphabet in order of appearance

Japt, 26 bytes aBcDeFgHiJkLmNoPqRsTuVwXyZ Try it Trivial Solution, 26 bytes ABCDEFGHIJKLMNOPQRSTUVWXYZ Try it Explanations In the first solution each lowercase letter is a method that ge...

posted 1mo ago by Shaggy‭  ·  edited 1mo ago by Shaggy‭

Answer
66%
+2 −0
Challenges Substring factor

Haskell, 101 95 bytes import Data.List r a=or$map(a?)$(map read$tail.inits=<<tails(show a))\\[a] a?b=b/=0&&a`mod`b==0 Try it online! Changelog: Saved 4 bytes by replacing an...

posted 4mo ago by Andrew Ray‭  ·  edited 4mo ago by Andrew Ray‭

Answer
66%
+2 −0
Sandbox Net​​ or​​ not? [FINALIZED]

posted 4mo ago by trichoplax‭  ·  edited 4mo ago by trichoplax‭

66%
+2 −0
Challenges Display a Progress Bar

Uiua, 19 bytes $"[_]"⊏⊙"-|">÷⟜⇡50÷ pad $"[_]"⊏⊙"-|">÷⟜⇡50÷­⁡​‎⁠‎⁡⁠⁢⁡⁣‏‏​⁡⁠⁡‌⁢​‎‎⁡⁠⁤⁢‏⁠‎⁡⁠⁤⁣‏⁠‎⁡⁠⁤⁤‏⁠‎⁡⁠⁢⁡⁡‏⁠‎⁡⁠⁢⁡⁢‏‏​⁡⁠⁡‌⁣​‎‎⁡⁠⁤⁡‏‏​⁡⁠⁡‌⁤​‎‎⁡⁠⁢⁣‏⁠‎⁡⁠...

posted 14d ago by RubenVerg‭  ·  edited 14d ago by RubenVerg‭

Answer
66%
+2 −0
Challenges Display a Progress Bar

Japt, 18 bytes "[{/V*50 ç| ú-50}] Try it

posted 12d ago by Shaggy‭

Answer
66%
+2 −0
Challenges Print the modular multiplicative inverse / virtual fractions

Pyth, 16 bytes .^RtJ^2yTyJ%2S97 Try it online! This solution uses Euler's formula, which states that if a is coprime to m, a^(phi(m)-1) = a^-1 mod m where phi(m) is the totient function, t...

posted 9mo ago by isaacg‭

Answer
66%
+2 −0
Challenges Round trip stones

$N$ vessels initially contain $3$ stones each. What is the probability of having at least $3$ stones in the first vessel after moving a uniformly random selection from the first vessel to the secon...

1 answer  ·  posted 7mo ago by trichoplax‭  ·  last activity 7mo ago by Arpad Horvath‭

66%
+2 −0
Challenges Construct the Irish possessive

In this challenge you will take an Irish word and a personal pronoun and create the possessive pronoun construction combining the two. For example sé, madra becomes a mhadra. Translated to English...

1 answer  ·  posted 8mo ago by WheatWizard‭  ·  last activity 7mo ago by Arpad Horvath‭

66%
+2 −0
Challenges The 50 substrings that validate any string of Roman numerals

Python, 344 bytes 534 bytes: This is not golfed in any way. But it's the current winner! def validate_roman_numeral(candidate): invalid_strings = ["CCCC", "CCD", "CCM", "CDC", "CMC", "CMD",...

posted 8mo ago by daviewales‭  ·  edited 5mo ago by daviewales‭

Answer
66%
+2 −0
Challenges Is it a valid hidden word?

The Universal Crossword has a set of guidelines for crossword puzzle submissions. In this challenge we are going to be concerned with their rules for hidden word themes. A hidden word clue consis...

1 answer  ·  posted 1y ago by WheatWizard‭  ·  last activity 1y ago by Razetime‭

66%
+2 −0
Meta Leaderboard sorting bug

The leaderboard that shows below a code golf challenge can either sort the answers to show the winner for each language separately (if "Group by language" is ticked) or it can show all the answers ...

1 answer  ·  posted 9mo ago by trichoplax‭  ·  last activity 4mo ago by Monica Cellio‭

Question bug leaderboard
66%
+2 −0
Challenges Make $2 + 2 = 5$

Pyth, 6 bytes +!-Q2s Try it online! I think there might be a way to shave a byte, but I can't find it. s Sum the input + Add -Q2 Remove the twos from the input ! Nega...

posted 9mo ago by isaacg‭

Answer
66%
+2 −0
Challenges Can I follow this recipe?

You work in a kitchen which has a peculiar rule. When you mix something into a pot you must always add at least one new ingredient. So you can add pasta, oil, salt then pesto, but not pasta, pesto...

1 answer  ·  posted 9mo ago by WheatWizard‭  ·  last activity 9mo ago by isaacg‭

66%
+2 −0
Challenges How many umbrellas to cover the beach?

Python 3.8+, 219 bytes Short version: from itertools import combinations as c def m(w): for k in range(n:=len(w)): for y in c(range(n),k+1): s=[0]*n for x in y: for r in range(...

posted 1y ago by Arpad Horvath‭  ·  edited 1y ago by Arpad Horvath‭

Answer
66%
+2 −0
Challenges How many umbrellas to cover the beach?

Python 3.8, 117 bytes def f(l): r,s,t=0,0,0 while s<len(l):_,s,t,r=[t:=max(t,(s+i+h)*(h>i))for i,h in enumerate(l[s:])],t,0,r+1 return r Try it online! The idea is to find the le...

posted 1y ago by justhalf‭  ·  edited 1y ago by justhalf‭

Answer
66%
+2 −0
Challenges Borromean coprimes

Jelly, 10 bytes ṭŒcg/€ċ1=1 Try it online! A monadic link taking a list of three positive integers and returning 1 if they are Borromean coprimes and 0 if not. TIO link checks all of the test c...

posted 12mo ago by NikNakk‭

Answer