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
 
50%
+0 −0
Challenges "Hello, World!"

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

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

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

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

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

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

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%
+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 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 1y ago by ok12d‭

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

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

50%
+0 −0
Challenges Reverse an ASCII string

AWK, 48 bytes ORS="";{l=split($0,d,"");for(;l>0;)print d[l--]} Try it online!

posted 11mo ago by xrs‭  ·  edited 11mo ago by xrs‭

Answer
50%
+0 −0
Sandbox Hex ​​​detector [FINALIZED]

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

50%
+0 −0
Challenges Looping counter

AWK, 26 24 bytes END{for(;;)print x=x"*"} Try it online!

posted 11mo ago by xrs‭  ·  edited 11mo ago by trichoplax‭

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

K (oK), 15 bytes "Hello, World!" Try it online! I'm terrible at K, but I've got that one down now.

posted 11mo ago by xrs‭

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

AWK, 2 bytes $0 Try it online! END{print "Hello, World!"}

posted 11mo ago by xrs‭

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

Google Sheets, 155 bytes =regexextract(A1,"CCCC|CC[DM]|CM[CDM]|DC[DM]|DD|DM|I[CDLM]|IIII|II[VX]|IVI|IX[CILVX]|L[CDLM]|LX[CL]|MMMM|V[CDLMVX]|VI[VX]|XCC[DLMX]|XD|XLX|XM|XX[CL]|XXXX") The same reg...

posted 11mo ago by --Hyde‭

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

JavaScript, 149 bytes t=>t.match(/CCCC|CC[DM]|CM[CDM]|DC[DM]|DD|DM|I[CDLM]|IIII|II[VX]|IVI|IX[CILVX]|L[CDLM]|LX[CL]|MMMM|V[CDLMVX]|VI[VX]|XCC[DLMX]|XD|XLX|XM|XX[CL]|XXXX/) Simple regex. Retu...

posted 11mo ago by --Hyde‭  ·  edited 11mo ago by --Hyde‭

Answer
50%
+0 −0
Sandbox Substring factor [FINALIZED]

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

50%
+0 −0
Challenges 1, 2, Fizz, 4, Buzz!

AWK, 62 61 60 56 bytes {for(;i++<$1;)print i%3?i%5?i:y="Buzz":i%5?x="Fizz":x y} {for(;i++<$0;)print i%15?i%5?i%3?i:"Fizz":"Buzz":"FizzBuzz"} {for(;i++<$0;x=""){i%3||x="Fizz";i%5||x=...

posted 11mo ago by xrs‭  ·  edited 11mo ago by xrs‭

Answer
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 8mo ago by trichoplax‭  ·  edited 8mo ago by C. K. Young‭

Question default-rules discussion
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 8mo ago by trichoplax‭  ·  edited 8mo ago by trichoplax‭

Answer