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
 
71%
+3 −0
Challenges Sort letters by height

Given a sequence of lower case letters, sort them into order of height. Heights The heights of letters are dependent on font, so for this challenge the height order to be used is as defined below...

5 answers  ·  posted 2y ago by trichoplax‭  ·  last activity 1y ago by Taeir‭

71%
+3 −0
Challenges Lowercase, but not just the letters

Given a string of printable ASCII characters, convert them all to lowercase, except not just the letters. ASCII characters that are letters have a bit in their binary representation that is 0 for ...

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

71%
+3 −0
Challenges Mediocre pop count

Given a sequence of letters, omit those with the highest or lowest pop count. Terminology The pop count or population count of a binary string is the number of 1s in it. For this challenge, the ...

6 answers  ·  posted 2y ago by trichoplax‭  ·  last activity 2y ago by A username‭

71%
+3 −0
Meta Thoughts on hiding challenge sections with expandable details tags

I think everything strictly needed to write or judge a solution should never be hidden. If you feel it is too large, think about how to shorten it. Information that is not strictly necessary can b...

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

Answer
71%
+3 −0
Challenges The holeyest base

Japt -h, 19 18 bytes Gõ ñ@ìX xg#‘5#}4s3 Try it Gõ ñ@ìX xg#‘5#}4s3 :Implicit input of integer U G :16 õ :Range [1,G] ñ :Sor...

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

Answer
71%
+3 −0
Challenges 8 coexisting queens

This is a fixed output challenge. Output a textual representation of a chessboard hosting 8 queens, none of which are attacking each other. There are 92 ways of arranging them, 12 if rotations and...

5 answers  ·  posted 2y ago by trichoplax‭  ·  last activity 2y ago by m90‭

71%
+3 −0
Challenges 8 coexisting queens

JavaScript, 48 bytes _=>[..."41506372"].map(x=>1e8/9+10**x|0).join` ` Try it online! The string "41506372" encodes the position of the queen in each row. 1e8/9 gives 11111111.1111......

posted 2y ago by m90‭

Answer
71%
+3 −0
Challenges The holeyest base

Given a positive integer as input, indicate which base from 2 to 16 gives the most holes in the representation of the input in that base. The digits used are 0123456789ABCDEF. Note that these incl...

6 answers  ·  posted 2y ago by trichoplax‭  ·  last activity 2y ago by Razetime‭

Question code-golf base
70%
+5 −1
Meta Default Rules: Code Golf I/O

Turing machines may use the contents of their tape pre-execution as their input

posted 3y ago by AndrewTheCodegolfer‭

Answer
70%
+5 −1
Meta What are the rules of programming language compliance?

If there exists something (reasonable) that can run it, it's valid. This includes obscure, non-standards-compliant compilers (though this should be specified in the answer if needed). So any poste...

posted 4y ago by dzaima‭

Answer
66%
+2 −0
Sandbox Evaluate a univariate polynomial [FINALIZED]

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

66%
+4 −1
Challenges "Hello, World!"

Raku, 19 bytes "Hello, World!".say Explanation First second answer of the.. entire site, actually. Nothing special. I don't think this can go shorter, but this is Raku, who actually knows. I m...

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

Answer
66%
+2 −0
Challenges "Hello, World!"

Japt, 11 bytes `HÁM, WŽld! Just using Japt's builtin compression. Test it

posted 4y ago by Quintec‭

Answer
66%
+2 −0
Sandbox Length of a Sumac Sequence[FINALIZED]

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

66%
+2 −0
Challenges "Hello, World!"

ARBLE, 15 bytes "Hello, World!" Simple use of Implicit IO. Polyglot with half a dozen golf langauges. Try it online!

posted 4y ago by ATaco‭

Answer
66%
+2 −0
Challenges Prime Difference

Raku, 33 bytes {1+(3...{($^a...&is-prime)>=$_})} Try it online! Anonymous code block that takes a number and returns a number. Explanation { } # Anony...

posted 4y ago by Jo King‭  ·  edited 4y ago by Jo King‭

Answer
66%
+2 −0
Challenges Length of a Sumac Sequence

JavaScript (Node.js), 31 bytes f=(a,b)=>a<0?0:b<0?1:1+f(b,a-b) Try it online!

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

Answer
66%
+2 −0
Challenges "Hello, World!"

JavaScript (V8), 28 bytes console.log("Hello, World!") Try it online!

posted 4y ago by Dion‭

Answer
66%
+2 −0
Challenges Tile pyramids on top of each other!

Japt -R, 12 bytes õÈ"/\\"mpXÃû Try it õÈ"/\\"mpXÃû :Implicit input of integer õ :Range [1,input] È :Map each X "/\\" : Literal string m ...

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

Answer
66%
+2 −0
Challenges "Hello, World!"

AppleScript, 15 bytes "Hello, World!" No, I'm not joking. This ridiculous language for a code golf actually beats some of the more normal languages.

posted 4y ago by DonielF‭

Answer
66%
+2 −0
Meta Should sandbox posts give rep?

Could it be possible to change the amount by which an upvote changes the rep? For example, a sandbox vote could be 1 rep, meaning that if you had a good idea you would still get rep, but it wouldn'...

posted 4y ago by Dion‭

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

Vyxal Hj, 10 bytes ƛ₍₃₅kF½*∑∴ Try it Online! Vyxal has gotten a whole lot better since first posting this. Explained Very simply, this is: for each item in the range [1, 100], create the lis...

posted 4y ago by lyxal‭  ·  edited 3y ago by lyxal‭

Answer
66%
+2 −0
Meta Who should the temporary moderators be?

With equally great hesitation, I'll also throw my hat in the ring if Jo King does not respond. (If he does, I'd rather Chris be the second moderator.) I was on the PPCG SE site for a relatively lo...

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

Answer
66%
+2 −0
Challenges Bytes to Segfault

C, 16 bytes m(){*(int*)m=0;} Try it Online!

posted 4y ago by moony‭

Answer
66%
+2 −0
Challenges Bytes to Segfault

Rust 1.0.0, 58 53 52 37 bytes fn a(){#[no_mangle]static mmap:u8=0;}

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

Answer