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
 
66%
+2 −0
Q&A Hosting fastest code challenges

When posting a fastest-code challenge, what do I need to bear in mind? Unlike with code-golf challenges, where the score is simply the number of bytes in the source code, for a fastest-code challe...

1 answer  ·  posted 1y ago by trichoplax‭  ·  last activity 11mo ago by Lundin‭

Question tips fastest-code
75%
+4 −0
Challenges Decoding a non injective bit matrix encoding

The problem Someone has created an encoding format for square bit matrices, however they have found it isn't perfect! One encoding may not decode to exactly one matrix, or it may not even be possi...

0 answers  ·  posted 1y ago by Aftermost2167‭  ·  edited 1y ago by Aftermost2167‭

66%
+2 −0
Meta How should we handle incorrect answers?

^ That can be used. You can try to contact the person who posted the challenge and have them mark the answer as "React -> Invalid". Or otherwise it seems that anyone can mark an answer as inva...

posted 1y ago by Lundin‭  ·  edited 1y ago by Moshi‭

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 1y ago by trichoplax‭

Answer
40%
+0 −1
Meta How should we handle incorrect answers?

Do nothing It's wrong but well intentioned. The best we can do is leave a comment saying why its wrong.

posted 1y ago by Quintec‭

Answer
40%
+0 −1
Meta How should we handle incorrect answers?

Lock it Locking a post disallows edits, comments and votes. I am not sure if it allows the original poster to edit or not, but this would be one way to preserve the answer while preventing interac...

posted 1y ago by Quintec‭

Answer
71%
+3 −0
Meta How should we handle incorrect answers?

Recently a flag came to my attention on this post: https://codegolf.codidact.com/posts/280372/281943#answer-281943 It is a well-intentioned answer to the challenge, but unfortunately it is wrong, ...

4 answers  ·  posted 1y ago by Quintec‭  ·  last activity 1y ago by Moshi‭

60%
+1 −0
Challenges Mediocre pop count

Vyxal, 12 bytes bṠ:₍gGvc†Tİ∑ Try it Online! İ # Index into input T # Indices where v # For each Ṡ # Sum of b # Binary digits ₍gG ...

posted 1y ago by A username‭

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

C (gcc), 36 bytes f(int*p){for(;*p;putchar(32|*p++));} Try it online! Similar solutions: 36 bytes too but with new lines: f(int*p){for(;*p;*p|=32,puts(p++));} 37 bytes using recursion:...

posted 1y ago by Lundin‭

Answer
50%
+0 −0
Challenges Encode with ROT13.5

Stax, 15 bytes ⌐♪aù¢φσX▀┼╜°«↕j Run and debug it

posted 1y ago by Razetime‭

Answer
60%
+1 −0
Challenges Encode with ROT13.5

Python 3, 145 bytes lambda s:[dict({chr(i+c):chr((i+13)%26+c)for i in range(26)for c in(65,97)},**{chr(i+48):chr((i+5)%10+48)for i in range(10)}).get(c,c)for c in s] Try it online! Generates...

posted 1y ago by dino‭

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

Python 3, 35 bytes lambda x:[chr(ord(i)|32)for i in x] Try it online! Performs a list comprehension on the input string; for each character it: transforms it into the ASCII character code...

posted 1y ago by dino‭

Answer
60%
+1 −0
Challenges Digit antitranspose

J, 8 char Solution: |:|.|."1 Test example: (i. 3 3) 0 1 2 3 4 5 6 7 8 |:|.|."1 (i. 3 3) 8 5 2 7 4 1 6 3 0 (i. 4 2) 0 1 2 3 4 5 6 7 |:|.|."1 (i. 4 2) 7 5 3 1 6 4 2...

posted 1y ago by torres‭

Answer
60%
+1 −0
Challenges Digit antitranspose

Japt, 2 bytes Input as a multi-line string ÕÔ Try it ÕÔ :Implicit input of string Õ :Transpose Ô :Reverse

posted 1y ago by Shaggy‭

Answer
50%
+0 −0
60%
+1 −0
Challenges Digit antitranspose

Python 3, 35 bytes lambda m:list(zip(*m[::-1]))[::-1] Try it online! The format is a list of tuples. The content of the tuples could be any type; in my tests I used single-digit strings bec...

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

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 1y ago by celtschk‭

Answer
60%
+1 −0
Challenges Encode with ROT13.5

Vyxal, 16 bytes kakAkdW₌ṅƛL½Ǔ;ṅĿ Try it Online!

posted 1y ago by steffan153‭

Answer
71%
+3 −0
Challenges Sort letters by height

Vyxal, 12 bytes µ«,←⋎„¶ɽ₌Ż«ḟ Try it Online! Outputs as a list of characters. Sort by index in (compressed) tibdfghklpqyj.

posted 1y ago by steffan153‭

Answer
71%
+3 −0
Challenges Digit antitranspose

Vyxal, 3 bytes ∩ṘR Try it Online! Transpose, reverse, reverse each.

posted 1y ago by steffan153‭

Answer
66%
+2 −0
Challenges Digit antitranspose

Convert a matrix or grid of digits to its antitranspose. For a square matrix , this is its reflection in its antidiagonal. More generally, for a rectangular matrix, this is its reflection in its sk...

4 answers  ·  posted 1y ago by trichoplax‭  ·  last activity 1y ago by torres‭

Question code-golf number
75%
+4 −0
Challenges Encode with ROT13.5

Given a string, convert all of its letters using ROT13, and all of its digits using ROT5. This is sometimes referred to as ROT13.5. Input A sequence of printable ASCII characters (character cod...

4 answers  ·  posted 1y ago by trichoplax‭  ·  last activity 1y ago by Razetime‭

60%
+1 −0
Sandbox Digit antitranspose [FINALIZED]

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

60%
+1 −0
Sandbox Encode with ROT13.5 [FINALIZED]

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

66%
+2 −0
Challenges Sort letters by height

Python 3, 43 bytes lambda x:sorted(x,key='tibdfghklpqyj'.find) Try it online! Sorts based on index in a sorted string. Inputs as a string and outputs as a list. -14 bytes by replacing .inde...

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

Answer