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 »

Posts by trichoplax‭

73 posts
66%
+2 −0
Challenges Round trip stones

$N$ vessels initially contain $3$ stones each. What is the probability of having at least $3$ stones in the first vessel after moving a uniformly random selection from the first vessel to the secon...

1 answer  ·  posted 28d ago by trichoplax‭  ·  last activity 5d ago by Arpad Horvath‭

50%
+0 −0
Sandbox Round trip stones [FINALIZED]

posted 1mo ago by trichoplax‭  ·  edited 28d ago by trichoplax‭

75%
+4 −0
Challenges The 50 substrings that validate any string of Roman numerals

Given a string of Roman numerals, decide whether it forms a valid Roman number. If not, output the substring that proves this, from the list of 50 strings described below. Relevant fact This chal...

3 answers  ·  posted 2mo ago by trichoplax‭  ·  last activity 18d ago by Arpad Horvath‭

60%
+1 −0
Meta Leaderboard sorting bug

The leaderboard that shows below a code golf challenge can either sort the answers to show the winner for each language separately (if "Group by language" is ticked) or it can show all the answers ...

0 answers  ·  posted 2mo ago by trichoplax‭

Question bug leaderboard
57%
+2 −1
Challenges Fibonacci without consecutive digits

Output the Nth number in the list of Fibonacci numbers that have no consecutive digits. Input A non-negative integer. Output The Nth number in the list of Fibonacci numbers whose base 10 ...

2 answers  ·  posted 3mo ago by trichoplax‭  ·  last activity 2mo ago by ok12d‭

50%
+0 −0
71%
+3 −0
Challenges Plain black webpage

This is a language specific challenge, for HTML only. Your answer is the content of a self contained HTML file, that when opened in a web browser gives a plain black page. Requirements The HTM...

4 answers  ·  posted 4mo ago by trichoplax‭  ·  last activity 4mo ago by Razetime‭

60%
+1 −0
Challenges Shortest representation in generalised Roman numerals

Find the shortest representation of an integer in generalised Roman numerals. Since there is more than one way to generalise, only the following definition applies to this challenge. Definition T...

1 answer  ·  posted 7mo ago by trichoplax‭  ·  last activity 5mo ago by NikNakk‭

Question code-golf number
66%
+2 −0
Challenges Single digit Roman numeral

Given a single character, which is a valid Roman numeral, output its value. Values There are 7 valid single character Roman numerals, with the following values: Character Value I...

5 answers  ·  posted 7mo ago by trichoplax‭  ·  last activity 6mo ago by H_H‭

Question code-golf
50%
+0 −0
Sandbox Single character Roman numeral [FINALIZED]

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

66%
+2 −0
Challenges Borromean coprimes

Given 3 positive integers, indicate whether they are Borromean coprimes. Definition 3 positive integers are called Borromean coprimes if both of the following are true: Their greatest common d...

2 answers  ·  posted 7mo ago by trichoplax‭  ·  last activity 5mo ago by NikNakk‭

Question code-golf math
60%
+1 −0
Sandbox Borromean coprimes [FINALIZED]

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

60%
+1 −0
Challenges Word suggesting

Suggest a word from a word list, given a string. Motivation Imagine typing a word one letter at a time, and seeing a suggested word after each letter is typed. At first the suggested word is simp...

1 answer  ·  posted 9mo ago by trichoplax‭  ·  edited 2mo ago by trichoplax‭

Question code-golf string list
66%
+2 −0
Meta A random button for ordering Code Golf post lists

On most Codidact communities the posts list has a "Random" button among the sorting buttons: The only exceptions are the Codidact Proposals community, and Code Golf: This suggests that it is ...

1 answer  ·  posted 9mo ago by trichoplax‭  ·  edited 9mo ago by Monica Cellio‭

75%
+4 −0
Challenges Probability of rolling all 6 dice faces

The probability of rolling every number from 1 to 6 with $N$ six-sided dice. Input A positive integer $N$. Your code must work for inputs up to and including 10, but may crash, error, or give ...

4 answers  ·  posted 10mo ago by trichoplax‭  ·  last activity 10mo ago by RubenVerg‭

Question code-golf math dice
66%
+2 −0
Challenges Expected value of highest dice rolled

You roll $N$ six-sided dice simultaneously. Your score is the highest number rolled. If you play this game many times, what is the expected value (mean) of your score? Input A positive integer ...

2 answers  ·  posted 10mo ago by trichoplax‭  ·  last activity 10mo ago by RubenVerg‭

Question code-golf math dice
60%
+1 −0
Sandbox Probability of rolling all 6 dice faces [FINALIZED]

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

66%
+2 −0
Sandbox Expected value of highest dice rolled [FINALIZED]

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

50%
+0 −0
Sandbox A word suggester [FINALIZED]

posted 11mo ago by trichoplax‭  ·  edited 9mo ago by trichoplax‭

71%
+3 −0
Challenges Label a hinged tetromino

Given a hinged tetromino, give it a unique, consistent label independent of location, rotation, and reflection. Tetrominoes A tetromino is a connected subset of the square tiling, composed of 4 s...

2 answers  ·  posted 11mo ago by trichoplax‭  ·  last activity 10mo ago by RubenVerg‭

60%
+1 −0
Sandbox Label the hinged tetrominoes - [FINALIZED]

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

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
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
50%
+0 −0