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.5k posts
 
77%
+5 −0
Meta Microcontroller-involving challenges and the rules.

I'd like to make a challenge that involves the use of a microcontroller, specifically, a challenge to read any 4-bit Gray Code from 4 IO pins, and convert it to binary. Simple introductory type cha...

1 answer  ·  posted 3y ago by moony‭  ·  last activity 3y ago by Lundin‭

71%
+3 −0
Sandbox Word Set Square[FINALIZED]

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

60%
+1 −0
Sandbox The Pell Numbers[FINALIZED]

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

66%
+2 −0
Challenges Solve Goldbach's Conjecture

Husk, 9 bytes ḟo=⁰Σπ2İp Try it online! Explanation ḟo=⁰Σπ2İp İp take the infinite list of primes π2 cartesian power 2 (all possible pairs) ḟo first pair which satisfie...

posted 3y ago by Razetime‭

Answer
66%
+2 −0
Challenges Solve Goldbach's Conjecture

JavaScript (Node.js), 87 bytes f=(a,b=2,c=a-b,d=(a,b=2)=>b<a?a%b&&d(a,b+1):1,e=a=>d(++a)?a:e(a))=>d(c)?[b,c]:f(a,e(b)) Try it online!

posted 3y ago by Hakerh400‭

Answer
83%
+8 −0
Challenges Solve Goldbach's Conjecture

Goldbach's Conjecture states that every even whole number greater than 2 is the sum of 2 prime numbers. Your task is to return those 2 prime numbers, given an even whole number as input. There are ...

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

Question code-golf math
66%
+2 −0
Sandbox Is it a near-anagram? [FINALIZED]

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

75%
+4 −0
Challenges Create an Alphabet Diamond

Stax, 12 bytes ç ∩<▬%▌ê▓jFo Run and debug it Same method as the Canvas answer.

posted 3y ago by Razetime‭

Answer
75%
+4 −0
Challenges Create an Alphabet Diamond

Canvas, 10 7 6 bytes Z[]/┼┼ Try it here! Creates the top portion, centers it, and mirrors it. -3 bytes from dzaima's hint. -1, found the 6 byter! Explanation Z[]/++ Z push the al...

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

Answer
77%
+5 −0
Challenges Create an Alphabet Diamond

V (vim), 21 bytes ¬AZ¬YA|òlÄ26|xx>>YGpH Try it online! Explanation: ¬AZ " Insert every character from A to Z ¬YA " Insert every character from Y...

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

Answer
75%
+4 −0
Challenges Create an Alphabet Diamond

Japt -R, 14 13 bytes ;Bãê kb'A û ê Test it Takes all substrings of the alphabet, palindromizes them, and then takes only the ones starting with A and centers and mirrors that too. -1 byte tha...

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

Answer
75%
+4 −0
Challenges Create an Alphabet Diamond

JavaScript (Node.js), 78 bytes (m=(a,b=26,c=a(--b))=>b?[c,...m(a,b),c]:[c])=>m(a=>m(b=>(c=25-a-b)<0?32:c+65)) Try it online!

posted 3y ago by Hakerh400‭

Answer
85%
+10 −0
Challenges Create an Alphabet Diamond

Challenge Output the following text: A ABA ABCBA ABCDCBA ABCDEDCBA ...

11 answers  ·  posted 3y ago by dzaima‭  ·  last activity 2y ago by General Sebast1an‭

66%
+2 −0
Sandbox Create an Alphabet Diamond [FINALIZED]

posted 3y ago by dzaima‭  ·  edited 11mo ago by trichoplax‭

60%
+1 −0
Challenges Write a Deadfish Interpreter

C (gcc), 153 bytes a,b;f(char*s){for(char*c,*o="idso";*s;s++)for(c=o;*c;c++)*s==*c&&(b=c-o,a+=!b,a-=b==1,b==2?a*=a:0,b==3&&printf("%d%c",a,s[1]?44:10),a==-1|a==256?a=0:0);} Tr...

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

Answer
77%
+5 −0
Challenges Longest parallel lines

JavaScript (Node.js), 541 540 bytes for(_='=>)==!(+==0h,.map(M,R(=1,,e,b &&Nl=[-1,))s(n,=(a a=u,v(i=g(z,u,f=(a,w,cs=Math.max,r?[...r(--a ) (a)]:[],R>&b>&a<w&b<...

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

Answer
77%
+5 −0
Challenges Longest parallel lines

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 3y ago by rak1507‭  ·  edited 3y ago by rak1507‭

Question code-golf boolean
66%
+2 −0
Challenges Write a Deadfish Interpreter

APL (Dyalog Classic), 47 bytes i←+∘1⋄d←-∘1⋄s←×⍨⋄o←⎕∘←⋄{}{0⌈a×256≠a←⍎⍕⍺,⍵}/⌽0,⍞ Try it online!

posted 3y ago by rak1507‭

Answer
66%
+2 −0
Challenges Write a Deadfish Interpreter

JavaScript (Node.js), 80 bytes f=a=>a.map(a=>(a&=6,a-2?a-6?c+=1-a/2:d+=c+' ':c*=c,c*=c!=-1&c!=256),c=0,d='')&&d Try it online!

posted 3y ago by Hakerh400‭

Answer
80%
+6 −0
Challenges Write a Deadfish Interpreter

A rewrite of this SE question with a simpler input format and guidelines. Challenge Deadfish uses a single accumulator, on which all commands are to be performed. It has the following commands: ...

8 answers  ·  posted 3y ago by Razetime‭  ·  last activity 2y ago by Zakk‭

77%
+5 −0
Challenges Truthify an array

APL (Dyalog Extended), 1 byte ⍸ ¯\(ツ)/¯ Try it online!

posted 3y ago by rak1507‭

Answer
66%
+2 −0
Challenges Evaluate a single variable polynomial equation

Pyth, 10 bytes s*R^H~hZhA Try it online! Alternate 10 byte solution: s.e*b^eQkh Try it online!

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

Answer
71%
+3 −0
Challenges "Hello, World!"

05AB1E, 7 bytes ”Ÿ™,‚ï! Try it online!

posted 3y ago by Makonede‭

Answer
77%
+5 −0
Challenges Truthify an array

Jelly, 2 bytes ŒṪ Try it online! 1-indexed, but the footer converts to 0-indexed. Less built-in: Jelly, 3 bytes œẹ1 Try it online! œẹ All multidimensional indices of 1 one. ...

posted 3y ago by Unrelated String‭

Answer
60%
+1 −0
Sandbox Write a Deadfish Interpreter[FINALIZED]

posted 3y ago by Razetime‭  ·  edited 11mo ago by trichoplax‭