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
 
71%
+3 −0
Challenges Prime Difference

Dyalog APL Extended, 14 bytes {¯4⍭4⍭⍣(⍵≤-)2} Try it online! {¯4⍭4⍭⍣(⍵≤-)2} Monadic dfn 2 start with 2 ⍣ Repeat 4⍭ the function "next prime" ...

posted 3y ago by dzaima‭

Answer
71%
+3 −0
Meta Should we import our old policy posts?

For a small number of posts, it will be easier to create them here than to import them. Your moderators (yes we need to get some) can create new help topics, which you can link to from question po...

posted 3y ago by Monica Cellio‭

Answer
71%
+3 −0
Meta Do you want any special tag styling or requirements?

For reference, this is the list of tags we have from SE which is 9 pages long, so I'll take the liberty of listing out which ones are "required" tags, as they are used to signify a scoring criterio...

posted 3y ago by Razetime‭

Answer
71%
+3 −0
Challenges Prime Difference

Husk, 8 bytes Ψḟo≥⁰≠İp Try it online! or Verify first 8 values It is always a good day when you get to use Ψ in your program. Explanation Ψḟo≥⁰≠İp İp to the infinite list of prime num...

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

Answer
71%
+3 −0
Challenges Partial Sums of Harmonic Series

JavaScript (Node.js), 47 bytes f=(a,b=0,c=a=>a&&1/a+c(a-1))=>c(b)<a?f(a,b+1):b Try it online! For large numbers, a rounding error will occur and yield incorrect result. The ...

posted 3y ago by Hakerh400‭

Answer
71%
+3 −0
Sandbox Weave strings together[FINALIZED]

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

71%
+3 −0
Challenges Length of a Sumac Sequence

JavaScript (Node.js), 27 25 bytes (-2 thanks to JoKing) f=(a,b)=>a<0?0:1+f(b,a-b) Try it online!

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

Answer
71%
+3 −0
Challenges Length of a Sumac Sequence

Japt -N, 9 bytes ¨T©ÒßVVnU Try it ¨T©ÒßVVnU :Implicit input of integers U & V ¨ :U is >= T : 0 © :Logical AND with Ò :Negate the...

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

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

R, 20 bytes cat("Hello, World!") Try it online!

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

Answer
71%
+3 −0
Challenges Tile pyramids on top of each other!

AppleScript, 264 bytes Sue me. It works. set n to text returned of (display dialog "" default answer "") as number set o to "" repeat with i from 1 to n repeat (n-i) times set o to o...

posted 3y ago by DonielF‭

Answer
71%
+3 −0
Challenges 1, 2, Fizz, 4, Buzz!

Japt -R, 28 bytes Lõ@"Fizz"pXv3)+"Buzz"pXv5)ªX I spent a long time playing with wizardry string/array slicing. It did not work out. This solution just repeats "Fizz" and "Buzz" if divisible. T...

posted 3y ago by Quintec‭

Answer
71%
+3 −0
Meta Who should the temporary moderators be?

I also endorse the nomination for Jo King. However, they have yet to accept the nomination, leaving us with zero viable nominations as of current writing. So, with great hesitation, I put my name f...

posted 3y ago by Chris Jester-Young‭

Answer
71%
+3 −0
Sandbox Run-length encode a byte sequence [FINALIZED]

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

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

C++ (gcc), 43 bytes #import<ios> main(){puts("Hello, World!");} Try it online!

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

Answer
71%
+3 −0
Meta Link with Stack Exchange

When editing my profile, I see: Link with Stack Exchange You can't link a Stack Exchange account to your account on this site because there is no associated Stack Exchange site from which to ...

1 answer  ·  posted 3y ago by Adám‭  ·  last activity 3y ago by Mithical‭

Question feature-request
71%
+3 −0
Challenges Weave Strings Together

Japt -P, 7 2 bytes Õc Takes input as character arrays. -5 bytes thanks to @Shaggy Try it

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

Answer
71%
+3 −0
Challenges Weave Strings Together

Haskell, 40 bytes f((h:t):r)=h:f(r++[t]) f(_:r)=f r f _=[] Try it online!

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

Answer
71%
+3 −0
Challenges 1, 2, Fizz, 4, Buzz!

C (gcc), 108 bytes *h,i;main(){for(;i++<100;){char s[]="%dFizzBuzz ",b=i%5;h=s+2;printf(s+(i%3?b?*h=32,0:6:b?h[1]=32,2:2),i);}} Godbolt. Works on clang too. Contains some serious abuse of al...

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

Answer
71%
+3 −0
Challenges Longest Increasing Subsequence

Given an array of numbers, output the length of the longest increasing (not necessarily contiguous) subsequence. It is guaranteed that there are no duplicates in the array. For example, if the inpu...

4 answers  ·  posted 3y ago by Quintec‭  ·  edited 3y ago by General Sebast1an‭

Question code-golf
71%
+3 −0
Challenges Reverse an ASCII string

Laser, 9 bytes c⌜ps \U# My own language's showcase time! This is a 2D language with an instruction pointer initially pointing to the right. It takes implicit input as an array of characters. ...

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

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

Ruby, 14 bytes ->s{s.reverse} Try it online! a straightforward builtin.

posted 3y ago by Razetime‭

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

Golfing numbers Numbers above 15 and below zero take more than one byte to create. Here's a table of numbers up to 100 (Not including negatives yet) Table for '98 NOTE: For numbers that are al...

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

Answer
71%
+3 −0
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 2y ago by celtschk‭  ·  last activity 2y ago by Hakerh400‭

Question code-golf string