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
 
50%
+0 −0
Challenges Solve Goldbach's Conjecture

Ruby, 62 bytes require'prime';f=->n,k=0{n.prime?&&k.prime?? [n,k]:f[n-1,k+1]} Attempt This Online!

posted 2y ago by radarek‭

Answer
50%
+0 −0
Challenges Are All Elements Equal?

MATL, 4 bytes tPX= Try it online! tPX= t - duplicate with implicit input P - fliplr in MATLAB, reverses top of stack X= - isequal

posted 2y ago by south‭

Answer
50%
+0 −0
Challenges Solve Goldbach's Conjecture

MATL, 19 bytes XH:YqtZ*!tsH=f1Z)Z) Try it online! I'm still a novice at MATL, so I am all ears to any improvements. XH:YqtZ*!tsH=f1Z)Z) XH - copy implicit input to H clipboa...

posted 2y ago by south‭

Answer
50%
+0 −0
Challenges "Hello, World!"

SOS, 155 Bytes !+!-!!+!-!!!!+!!-!!+!-!+!-!+!!-!+!!-!!!+!!-!+!!-!!!+!!-!+!!!!-!!+!-!+!!-!!!!+!-!!!!!!+!-!+!-!+!!!-!+!!-!+!!!!-!+!!!-!!+!-!!+!!-!+!!-!!!+!!-!!+!-!!+!-!!!!+! Explanation: Each ! o...

posted 2y ago by celtschk‭  ·  edited 2y ago by celtschk‭

Answer
50%
+0 −0
Challenges Reverse an ASCII string

SOS, 76 bytes +>+>?<+>?<+>?<+>?<+>?<+>?<+>?<+>?<<)<<-(>{>!<{>!<{>!<{>!<{>!<{>!<{>!<{>!&l...

posted 2y ago by celtschk‭

Answer
50%
+0 −0
Challenges Write a Deadfish Interpreter

JavaScript (V8), 78 bytes f=s=>s.map(c=>(_==256||_<0?_=0:0)||c=='i'?_++:c=='d'?_--:c=='s'?_*=_:v+=_+' ') Try it online!

posted 2y ago by Zakk‭  ·  edited 2y ago by Zakk‭

Answer
50%
+0 −0
Challenges The Pell Numbers

Lua 5.4.4, 51 bytes function f(n)return n<2 and n or f(n-1)*2+f(n-2)end Try it online!

posted 2y ago by Zakk‭

Answer
50%
+0 −0
Challenges The Pell Numbers

C (gcc), 35 bytes f(n){return n<2?n:f(n-1)*2+f(n-2);} Try it online!

posted 2y ago by Zakk‭  ·  edited 2y ago by Zakk‭

Answer
50%
+0 −0
Challenges Encode with ROT13.5

Bash, 31 bytes tr a-zA-Z0-9 n-za-mN-ZA-M5-90-4 Try it online!

posted 2y ago by celtschk‭

Answer
50%
+1 −1
Meta How should we handle incorrect answers?

Respect both sides We should consider how an approach would affect the poster of the incorrect answer, and how it would affect the posters of correct answers. Correct answers In general, allowin...

posted 2y ago by trichoplax‭

Answer
50%
+0 −0
Challenges Encode with ROT13.5

Stax, 15 bytes ⌐♪aù¢φσX▀┼╜°«↕j Run and debug it

posted 2y ago by Razetime‭

Answer
50%
+0 −0
Challenges Cumulative Counts

Haskell + hgl, 10 bytes mpn$ce~<gj Attempt This Online! Explanation mpn map across all non-empty prefixes of the input ... ce count the number of elements in each prefix equal to ... g...

posted 1y ago by WheatWizard‭

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

Ruby, 128 bytes ->x,y{g=->c{c.chars.join" ?"} !x[y]&&(x.match?(/.+#{g[y]}.+/)||(0...(y.size-1)).any?{x[/^#{g[y[0.._1]]}.+#{g[y[(_1+1)..]]}$/]})} Attempt This Online! bookends ar...

posted 1y ago by Razetime‭

Answer
50%
+0 −0
Challenges Word suggesting

Charcoal, 88 bytes ≔⪪η λFLθ«¿¬⁼θ⁰«≔…θ⁺ι¹π¿№λπ«≔πω§≔λ⌕λω⁰»«¿Σ⭆λ⁼…κ⁺ι¹π«≔§Φλ⁼…κ⁺ι¹π⁰ω§≔λ⌕λω⁰»«θ≔⁰θ»»»»¿¬⁼θ⁰«ω Try it online!

posted 8mo ago by ok12d‭

Answer
50%
+0 −0
50%
+0 −0
Sandbox Round trip stones [FINALIZED]

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

50%
+0 −0
Meta Default Rules: Code Golf Answer Types

When answering a code-golf challenge, what types of answer are acceptable by default? Can an answer be a complete program, a function, an anonymous function, a snippet of code? Please add one type...

4 answers  ·  posted 3mo ago by trichoplax‭  ·  edited 3mo ago by C. K. Young‭

50%
+0 −0
Sandbox How many odd digits? [FINALIZED]

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

50%
+0 −0
Meta Default Rules: Code Golf Answer Types

Complete program A code golf answer can be a complete program. This means that the code can be interpreted or compiled (as appropriate) without any additional source code.

posted 3mo ago by trichoplax‭

Answer
50%
+0 −0
Meta Default Rules: Code Golf Answer Types

Function Score is the bytes of the function A code golf answer can be a function. Only the bytes required to define the function are included in the score. Score includes imports and definitions...

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

Answer
50%
+0 −0
Meta Default Rules: Code Golf Answer Types

Anonymous function A code golf answer can be an anonymous function[1]. That is, a function that can be defined without giving it a name (in programming languages that allow this). If an anonymous...

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

Answer
50%
+0 −0
Meta Default Rules: Code Golf Answer Types

A snippet is not a valid answer A code golf answer must in general be able to take input[1] and give output. A snippet of code that is not contained in a function or program cannot take input[2], ...

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

Answer
50%
+0 −0
Sandbox Digits with subsets of unique probability

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