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
 
60%
+1 −0
Challenges Stairs? Stairs! Stairs.

JavaScript (Node.js), 91 bytes (n)=>[...Array(n)].map((_,i)=>console.log((' '.repeat(n-i)+'_/'+'##'.repeat(i)).slice(3))) Try it online!

posted 3y ago by Endercraft2319‭

Answer
60%
+1 −0
Challenges Stairs? Stairs! Stairs.

Vyxal jṀ, 11 bytes ƛd‛_/$꘍⁰d↳Ḣ Try it Online! ƛ # Map 0...n to... ‛_/ # '_/' $꘍ # And append... d # Double # (Implicit input) $꘍ ...

posted 3y ago by emanresu A‭

Answer
60%
+1 −0
Sandbox Bird is the word

posted 3y ago by Lundin‭  ·  edited 2y ago by General Sebast1an‭

60%
+1 −0
Challenges "Hello, World!"

Haskell, 25 bytes main=print"Hello, World!" Try it online!

posted 3y ago by carmysilna‭

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

Haskell, 110 bytes main=mapM(\n->putStrLn$case(rem n 3,rem n 5)of(0,0)->"FizzBuzz";(0,_)->"Fizz";(_,0)->"Buzz";_->show n)[1..100] Try it online!

posted 3y ago by carmysilna‭

Answer
60%
+1 −0
Challenges Recreate the Stack Overflow logo

Vector, 893 Bytes <vector xmlns:android="http://schemas.android.com/apk/res/android"android:width="474dp"android:height="355dp"android:viewportWidth="474" android:viewportHeight="355"><pa...

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

Answer
60%
+1 −0
Challenges Convert integer to English

Python 3, 596 589 585 482 468 467 429 bytes def f(x): s="";i="r fif six seven eigh nine";a=f"zero one two three four five six seven eight nine ten eleven twelve thir fou{i} twen thir fo{i}".sp...

posted 3y ago by General Sebast1an‭  ·  edited 3y ago by General Sebast1an‭

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

shortC, 95 93 91 bytes AIi;Wi++<100){C*h[]={"%d "," "},**p=h;i%3||(*p++="Fizz%2$s");i%5||(*p="Buzz ");R*h,i,h[1]); Try it online! From @celtschk's C (gcc) answer.

posted 3y ago by General Sebast1an‭  ·  edited 3y ago by General Sebast1an‭

Answer
60%
+1 −0
Challenges "Hello, World!"

Unlambda, 40 bytes `````````````.H.e.l.l.o.,. .W.o.r.l.d.!i Try it online!

posted 3y ago by celtschk‭

Answer
60%
+1 −0
Challenges Truthify an array

Python 3, 75 bytes lambda a:[[i,k]for i in r(l(a))for k in r(l(a[0]))if a[i][k]] r=range;l=len Try it online!

posted 3y ago by celtschk‭

Answer
60%
+1 −0
Challenges Encode and decode floating point integers

Python 3, 268 250 235 233 210 197 148 bytes def a(n):e=(n>>6).bit_length();f=2**e;l=n&(f-1);N=(n>>e)&31;return((e+(n>31))<<5)+N+(2*l+N%2>f) def b(r):E=r>>5...

posted 3y ago by General Sebast1an‭  ·  edited 3y ago by General Sebast1an‭

Answer
60%
+1 −0
Challenges Reverse an ASCII string

shortC, 24 bytes f(C*s){*s&&f(s+1)^P*s);} Try it online! A shortC conversion of @Sisyphus's C (gcc) implementation.

posted 3y ago by General Sebast1an‭

Answer
60%
+1 −0
Challenges Repeat the characters

shortC, 40 37 bytes i;f(C*s,In){O;*s;s++)Oi=n;i--;P*s));} Try it online! A shortC conversion of @Lundin's C (gcc) implementation.

posted 3y ago by General Sebast1an‭  ·  edited 3y ago by General Sebast1an‭

Answer
60%
+1 −0
Challenges 99 Shortened Bottles of Beer

shortC, 223 bytes AOC*w=" bottles of beer on the wall",i=100;--i;)R"%d%.*s%s, %d%.*s%.8s.\n%s, %d%.*s%s.\n\n",i,i-1?8:7,w,w+8,i,i-1?8:7,w,w+8,i^1?"Take one down and pass it around":"Go to the stor...

posted 3y ago by General Sebast1an‭

Answer
60%
+1 −0
Challenges Collatz conjecture; Count the tries to reach $1$

shortC, 47 bytes a,b;AOK"%d",&b);b-1;b=b%2?b*3+1:b/2)a++;R"%d",a Try it online! From @ugoren's C answer from CGCC.

posted 3y ago by General Sebast1an‭

Answer
60%
+1 −0
Challenges "Hello, {name}!"

shortC, 30 bytes B){Cs[100];Qs);R"Hello, %s!",s Try it online!

posted 3y ago by General Sebast1an‭

Answer
60%
+1 −0
Challenges "Hello, World!"

Seriously, 1 byte H Try it online! Similar to HQ9+.

posted 3y ago by General Sebast1an‭

Answer
60%
+1 −0
Challenges Lowercase, but not just the letters

Japt, 3 bytes c|H Try it c|H :Implicit input of string c :Map charcodes | : Bitwise OR with H : 32

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

Answer
60%
+1 −0
Meta Thoughts on hiding challenge sections with expandable details tags

I've recently started experimenting with hiding some of the sections in a challenge, using an expandable <details> tag. This seems to have some advantages, but I'm interested to hear how peop...

3 answers  ·  posted 2y ago by trichoplax‭  ·  last activity 2y ago by celtschk‭

Question discussion challenges
60%
+1 −0
Meta Thoughts on hiding challenge sections with expandable details tags

I don't like the partially or fully hidden examples. Those require more work to see the details, instead of just scrolling on. Anyone curious enough about a challenge from the title will want to ...

posted 2y ago by Olin Lathrop‭

Answer
60%
+1 −0
Sandbox Arbitrary angle wrapping wordsearch

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

60%
+1 −0
Challenges Lowercase, but not just the letters

J, 39 char Solution: (a.{~ a.((6|.8{.1)+.(_8&{.))&.#:"0@i.]) Test example: (a.{~ a.((6|.8{.1)+.(_8&{.))&.#:"0@i.]) '([({Enclosed})])A@B.c' ({({enclosed})})a`b.c How it ...

posted 2y ago by torres‭

Answer
60%
+1 −0
Challenges Mediocre pop count

J, 46 char Solution: (]#~[:([:*./(<./,>./)~:"0 1])([:+/"1@#:a.&i.)) Test example: (]#~[:([:*./(<./,>./)~:"0 1])([:+/"1@#:a.&i.)) 'oAPwSoeHcoDretMBBoesoBsagHDoew' Secre...

posted 2y ago by torres‭

Answer
60%
+1 −0
Challenges Just the vowels please

Raku, 18 bytes {m:g:i/<[aeiou]>/} Implicitly matches the topic variable with the regex Try it online! {m:g:i/<[aeiou]>/} { } : anonymous code block m ...

posted 2y ago by south‭

Answer
60%
+1 −0
Challenges Can you give me half?

Vyxal, 1 byte . Try it Online! Very simple 1 byter

posted 2y ago by lyxal‭

Answer