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
 
71%
+3 −0
Challenges Evaluation order of an APL n-train

Jelly, 8 bytes ṖUs2UṭµF Try it online! -1 byte thanks to caird coinheringaahing (Also posted on Stack Exchange by myself) ṖUs2UṭµF Main Link Ṗ pop (remove last element; for numbe...

posted 3y ago by hyper-neutrino‭  ·  edited 3y ago by hyper-neutrino‭

Answer
71%
+3 −0
Challenges Evaluation order of an APL n-train

BQN, 8 bytesSBCS ⍒↕+2|⊢+↕ Run online! The solution itself is an 8-train, so its evaluation order is given by the sequence 7 5 6 3 4 1 2 0: first the rightmost ↕, then the ⊢, then the + between...

posted 3y ago by Marshall Lochbaum‭

Answer
71%
+3 −0
Challenges Make my number a set

Jelly, 3 bytes Ḷ߀ Try it online!

posted 3y ago by xigoi‭

Answer
71%
+3 −0
Meta Can I repost a challenge that I posted elsewhere here?

I have this challenge in Code Golf and I wonder if I can repost it here for more users to come, and also continue making these since I actually like them. Can I post this challenge to Codidact?

1 answer  ·  posted 3y ago by General Sebast1an‭  ·  edited 3y ago by Trilarion‭

Question support asking
71%
+3 −0
Challenges Are they abundant, deficient or perfect?

Jelly, 6 bytes _ÆṣṠ)Ġ Try it online! In order of abundant, perfect, deficient. _ÆṣṠ)Ġ Main Link ) For each from 1 to N _ Subtract Æṣ The proper divisor sum Ṡ Sign ...

posted 3y ago by hyper-neutrino‭  ·  edited 3y ago by hyper-neutrino‭

Answer
71%
+3 −0
Challenges Are they abundant, deficient or perfect?

BQN, 21 bytesSBCS (¬·×-+´·/0=↕⊸|)¨⊸⊔1+↕ Run online! Mostly one big train used to find the appropriate group for each number, to be used with Group (⊔). The combining functions in a train norma...

posted 3y ago by Marshall Lochbaum‭

Answer
71%
+3 −0
Challenges Create an Alphabet Diamond

Vyxal C, 8 bytes kA¦ømƛøm Try it Online! Explanation: kA # Push the alphabet ¦ # Prefixes øm # Palindromize list without duplicating middle ƛ # For each: ...

posted 3y ago by Aaron Miller‭

Answer
71%
+3 −0
Challenges Word Set Square

Japt -R, 16 15 14 bytes pÔ¬Ëú°EDùEÃÆpÔ Try it pÔ¬Ëú°EDùEÃÆpÔ :Implicit input of string p :Append Ô : Reverse ¬ :Split Ë ...

posted 3y ago by Shaggy‭  ·  edited 2y ago by Shaggy‭

Answer
71%
+3 −0
Q&A Tips for [fastest-code] in Python

What tips are there in fastest code, or what I like to call code speeding, challenges in Python?

1 answer  ·  posted 3y ago by General Sebast1an‭  ·  last activity 2y ago by trichoplax‭

Question tips fastest-code
71%
+3 −0
71%
+3 −0
Sandbox Add two negabinary integers [FINALIZED]

posted 3y ago by Moshi‭  ·  edited 1y ago by trichoplax‭

71%
+3 −0
Challenges Create a Sudoku

Haskell, 50 bytes [take 9$drop i$cycle[1..9]|i<-[0,3,6,1,4,7,2,5,8]] Try it online!

posted 3y ago by totallyhuman‭  ·  edited 3y ago by totallyhuman‭

Answer
71%
+3 −0
Meta Leaderboards are live

Seems to be an issue with the ordering (across languages) when "Group by language" is set. When I first load the page, they are ordered with the most recent post first. If I then uncheck "Group by ...

posted 3y ago by Marshall Lochbaum‭  ·  edited 3y ago by Marshall Lochbaum‭

Answer
71%
+3 −0
Challenges Multiply complex numbers.

JavaScript (Node.js), 99 96 69 bytes s=>([a,b,c,d]=s.match(/-?\d+/g),a*c-b*d+(a=a*d+b*c,a<0?'':'+')+a+'i') Try it online! This regex is probably the best way to get the numbers. Also, f...

posted 3y ago by Moshi‭  ·  edited 3y ago by Moshi‭

Answer
71%
+3 −0
Meta Leaderboards are live

Few QoL improvements can be made: Some trivial challenges(i.e. "Hello World!") get many, many answers, so the leaderboard should show a scrollbar beyond some point(after the first 10 submissions, ...

posted 3y ago by Razetime‭

Answer
71%
+3 −0
Challenges Multiply two strings

Given two strings, I define their product as follows: If any of the two strings is empty, the product is the empty string. If the second string consists of a single character, the result ...

6 answers  ·  posted 3y ago by celtschk‭  ·  last activity 3y ago by Hakerh400‭

Question code-golf string
71%
+3 −0
Challenges Multiply two strings

Jelly, 2 bytes «þ Try it online! Technically speaking, this needs to be a full program, due to how Jelly's smash printing works, but it can get away with being run as a function over test case...

posted 3y ago by caird coinheringaahing‭  ·  edited 3y ago by caird coinheringaahing‭

Answer
71%
+3 −0
Challenges Multiply two strings

BQN, 3 bytes Anonymous tacit infix function, taking the second string as left argument and the first string as right argument. ⥊⌊⌜ ⌊⌜ minimum table ⥊ deshape (flatten) BQN treats characters ...

posted 3y ago by Adám‭  ·  edited 3y ago by Adám‭

Answer
71%
+3 −0
Challenges My house is destroyed! Can you make me one?

Background A House of I I went on an adventure Grabbed resources and making deeds Like start to work on the materials To build the shelter I need It was a marvelous one At least in the eyes ...

10 answers  ·  posted 3y ago by General Sebast1an‭  ·  last activity 3y ago by Quintec‭

Question code-golf string
71%
+3 −0
Challenges Roll n fair dice

Ruby, 28 bytes ->n,m{(1..n).sum{rand(m)+1}} Try it online!

posted 3y ago by snail_‭  ·  edited 2y ago by snail_‭

Answer
71%
+3 −0
Challenges Make $2 + 2 = 5$

Japt -x, 6 5 bytes Takes input as an array of integers p!UdÍ Try it p!UdÍ :Implicit input of array U p :Push ! : Logical NOT of Ud : Any true (not zero) when ...

posted 3y ago by Shaggy‭  ·  edited 3y ago by Shaggy‭

Answer
71%
+3 −0
Challenges Make $2 + 2 = 5$

Zsh, 25 bytes >2 <$@&&<<<5||<<<$[$1+$2] Attempt This Online! Explanation: >2;<$@: if both arguments are 2: &&<<<5: then print 5 ||&...

posted 3y ago by pxeger‭

Answer
71%
+3 −0
Challenges Make $2 + 2 = 5$

Python 3, 24 bytes lambda x,y:x+y+(x==y==2) Try it online!

posted 3y ago by bastolski‭

Answer
71%
+3 −0
Challenges Compute the determinant

Python 3.8 (pre-release), 106 95 bytes Saved 11 bytes thanks to Peter Taylor! f=lambda m:sum((-1)**i*x*f([r[:i]+r[i+1:]for r in m[1:]])for i,x in enumerate(m[0]))if m else 1 Try it online! ...

posted 3y ago by user‭  ·  edited 3y ago by user‭

Answer
71%
+3 −0
Sandbox Balance my ternary[FINALIZED]

posted 3y ago by Razetime‭  ·  edited 3y ago by Razetime‭