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
 
71%
+3 −0
Challenges Is it part of the mandelbrot set?

Haskell, 66 bytes -7 bytes thanks to Razetime‭ import Data.Complex (\c->(<2).magnitude$(iterate(\z->z*z+c)c)!!16) I use the fact, that if the result is bigger than 2, it will be fore...

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

Answer
71%
+3 −0
Challenges Towers of DC .:.

DC is a reverse-Polish calculator REPL that is available on most Linux distributions. In reverse-Polish notation, you can push values to a stack and then pop those values back off to perform operat...

0 answers  ·  posted 9mo ago by Andrew Ray‭  ·  edited 9mo ago by trichoplax‭

Question code-golf alternative-scoring
71%
+3 −0
Q&A Advice for hosting a language agnostic King of the Hill contest

A King of the Hill contest requires that a controller program provided by the person hosting the contest communicate (both input and output) with each of the entries to the contest. For some contes...

1 answer  ·  posted 6mo ago by trichoplax‭  ·  last activity 6mo ago by celtschk‭

Question king-of-the-hill
71%
+3 −0
Meta Category migration and the sandbox

Start afresh but keep history When migrating to the Challenges category, there are several aspects of the post that could be included or discarded: Comments Edit history Votes Comments Th...

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

Answer
71%
+3 −0
Challenges Source with the whole alphabet in order of appearance

Bash + a ton of non-standard packages that were already installed on my machine, non-competing 83 bytes tabs #bash: set tabs on a terminal cd #bash: change directory efibootmgr #linux: modify th...

posted 6mo ago by Themoonisacheese‭

Answer
71%
+3 −0
71%
+3 −0
Challenges Are All Elements Equal?

Rockstar, 76 bytes Takes individual integers as input. listen to f let n be f o's1 while n let o be o and n is f listen to n say o Try it (Code and input will need to be added manually...

posted 3y ago by Shaggy‭

Answer
71%
+3 −0
Challenges Reduce over the range [1..n]

Ruby, 17 bytes ->{_2.reduce(_1)} Takes function (Proc) followed by Array. 32 bytes without inject or reduce ->f,(a,*r){r.map{|n|a=f[a,n]};a}

posted 3y ago by Wezl‭

Answer
71%
+3 −0
Challenges Reduce over the range [1..n]

Haskell, 18 bytes n!g=foldl1 g[1..n] Try it online!

posted 3y ago by Hakerh400‭

Answer
71%
+3 −0
Challenges Generate Lewis Caroll's Jabberwocky

Japt, 610 606 bytes Don't think there's anything more that can be done with it than this. 933î`'T°s ߍ¦g, „d e sҐy ‘vƒ Did gyœ „d g‹½e ˆ e °¼; A¥ Úßy ØÀ e ޒgovƒ, A˜ e Ú  ÎÈs ŒtgŸ¼.0"BeØ ...

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

Answer
71%
+3 −0
Meta Add detailed wikis and usage info on these tags

In this request (not really a feature-request but still tagged so anyway), I'd like to have detailed wikis on tags and maybe usage information on them too. Currently, these tags have usage info in...

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

Question feature-request discussion tags
71%
+3 −0
Challenges Are All Elements Equal?

Python 3, 20 bytes lambda l:len({*l})<2 Try it online!

posted 3y ago by m90‭

Answer
71%
+3 −0
Challenges Are All Elements Equal?

Haskell, 16 bytes f(a:b)=all(==a)b Try it online!

posted 3y ago by Hakerh400‭

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

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

71%
+3 −0
Challenges Word Set Square

Haskell, 110 bytes f a=s>>=(#)$a++reverse a c@(a:b)!f=f c:b!f _!_=[] f#n=n!((n!).f) s(p:q)(d:e)(b:c)|e==c||e==[]=b|q==c=d|0<1=' ' Try it online!

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

Answer
71%
+3 −0
Challenges Word Set Square

V (vim), 23 bytes æw|PòlÄxòjVLkîyllv$r $Ð Try it online! Hexdump: 00000000: e677 7c50 f26c c478 f26a 564c 6bee 796c .w|P.l.x.jVLk.yl 00000010: 6c76 2472 2024 d0 lv$r ...

posted 4y ago by DJMcMayhem‭

Answer
71%
+3 −0
Meta Allow linking account with Code Golf Stack Exchange

Currently, the only purpose a link to a SE account serves is to associate imported content with your CD account. Since Code Golf doesn't have any imported content from SE, there's no option to link...

posted 4y ago by Mithical‭

Answer
71%
+3 −0
Challenges Reverse an ASCII string

Scala, 9 bytes _.reverse Try it in Scastie! Explanation: _.reverse _ //The function argument . //Call a method reverse //Reverse the string

posted 4y ago by user‭

Answer
71%
+3 −0
Challenges Word Set Square

Scala, 99 bytes s=>{val x=s+s.reverse s(0)+"\n"+x.tail.init.zipWithIndex.map{case(c,i)=>c+" "*i+c+"\n"}.mkString+x} Try it in Scastie!

posted 4y ago by user‭

Answer
71%
+3 −0
Challenges Reverse an ASCII string

PowerShell, 43 bytes param($s)(($s=$s|% t*y)|%{$s[--$q]})-join'' Try it online!

posted 4y ago by Wasif‭

Answer
71%
+3 −0
Challenges Cumulative Counts

APL (Dyalog Unicode), 11 7 bytes (SBCS) Razetime and rak1507 came up with 7 byte equivalents of my original dfn (this one's rak1507's). See their solutions below. +/¨⊢=,\ Try it online! +/¨...

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

Answer
71%
+3 −0
Q&A Befunge Golfing Tips

Exploiting layout Make it thin Newlines and indentation are expensive, so remove them when possible. Some examples: &v factorial v< > >:1-:| v* < >$>\:| ...

posted 4y ago by Wezl‭  ·  edited 4y ago by Wezl‭

Answer
71%
+3 −0
Challenges Obligatory Quine Challenge

Jq, -rn 18 bytes "|@json+."|@json+. "|@json+." # the string | # through the filter @json # json encoded + # concatenated with ...

posted 4y ago by Wezl‭

Answer
71%
+3 −0
Challenges Cumulative Counts

Japt, 14 11 8 bytes £¯YÄ è¥X Try it -3 bytes thanks to @Shaggy

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

Answer
71%
+3 −0
Challenges Obligatory Quine Challenge

Scala 3, 80 bytes @main def m={val s="@main def m={val s=%c%s%1$c;printf(s,34,s)}";printf(s,34,s)} Try it in Scastie! The printf replaces %c and %1$c in string s with the quote character (34 i...

posted 4y ago by user‭

Answer