Activity for trichoplax
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #291299 |
Would it still work if you replace
```python
range(3)
```
with
```python
0,1,2
``` (more) |
— | 4 days ago |
Edit | Post #291281 |
Post edited: Mark as finalized |
— | 7 days ago |
Edit | Post #291293 | Initial revision | — | 7 days ago |
Question | — |
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 second, then from the second vessel to the third, and so on back to the first vessel? Input - A positive ... (more) |
— | 7 days ago |
Edit | Post #291281 |
Post edited: Add tag and improve grammar |
— | 7 days ago |
Edit | Post #291281 | Initial revision | — | 8 days ago |
Article | — |
Round trip stones [FINALIZED] Now posted: 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 second, then from the second vessel to the third, and so on back to the ... (more) |
— | 8 days ago |
Comment | Post #287238 |
Testing a texts (more) |
— | about 1 month ago |
Comment | Post #291091 |
I've edited the Test cases section to clarify this flexibility. (more) |
— | about 1 month ago |
Edit | Post #291048 |
Post edited: Clarify that "VALID" in the test outputs is not the only permitted value |
— | about 1 month ago |
Comment | Post #291091 |
When the input is a valid Roman number, the output does not need to be specifically the string "VALID". From the first bullet point of the Output section, you just need to "output a consistent value" which "must not be one of the strings from the list of 50".
Hopefully this saves you some bytes. (more) |
— | about 1 month ago |
Edit | Post #289542 |
Post edited: Correct output section |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Mark as finalized |
— | about 1 month ago |
Edit | Post #291048 | Initial revision | — | about 1 month ago |
Question | — |
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 challenge is based around the following fact: > A string of Roman numerals is a valid Roman number if a... (more) |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Clarify output |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Clarify reason for maximum representable value of 3999 |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Condense power of 10 columns into a single table |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Add footnote linking to Standard form on Wikipedia |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Add test cases with various numbers of invalid substrings |
— | about 1 month ago |
Comment | Post #291002 |
I have now edited to change the challenge to match the previous comment. Is there any problem with this? Anything to improve? (more) |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Tidying |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Change output requirements to require use of the 50 strings |
— | about 1 month ago |
Comment | Post #291002 |
Another possible challenge:
Given a string of Roman numerals, output either "valid" or a string from the list of 50 that proves it invalid. This may involve the Kolmogorov complexity challenge as a subchallenge. Is this good or bad? (more) |
— | about 1 month ago |
Comment | Post #291002 |
As written, the challenge is simply to validate a string of Roman numerals. I suspect that in most languages the golfiest way will be regex, and the list of 50 substrings will not be used. As such, they are irrelevant background info about Roman numerals, rather than being part of the challenge. I'm ... (more) |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Rearrange wording of valid Roman numerals section for clarity |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Include all examples in the test cases |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Clarify input section |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Specify V, L, and D appear only once |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Make the 2 methods into bullet points |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Punctuate long sentence |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Add clarification of construction example and maximum value |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Make title more accurate |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Express interest in which approach is competitive in each language |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Improve wording of output section |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Mention reason for upper limit on input length |
— | about 1 month ago |
Edit | Post #291002 |
Post edited: Be more specific about substrings method |
— | about 1 month ago |
Edit | Post #291002 | Initial revision | — | about 1 month ago |
Article | — |
The 50 substrings that validate any string of Roman numerals [FINALIZED] Now posted: 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 challenge is based around ... (more) |
— | about 1 month ago |
Edit | Post #290978 | Initial revision | — | about 2 months ago |
Question | — |
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 from all the languages sorted as a single list, to give an overall winner. There seems to be a bug in... (more) |
— | about 2 months ago |
Edit | Post #290852 |
Post edited: Add finalized to title |
— | about 2 months ago |
Edit | Post #290852 |
Post edited: Mark as finalized |
— | about 2 months ago |
Edit | Post #290870 | Initial revision | — | about 2 months ago |
Question | — |
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 (decimal) representation has no adjacent digits that are consecutive. - The Fibonacci numbers start w... (more) |
— | about 2 months ago |
Edit | Post #290852 |
Post edited: Specify zero indexed and add an example |
— | 2 months ago |
Edit | Post #290852 |
Post edited: Add link and explanation of Fibonacci numbers |
— | 2 months ago |
Edit | Post #290852 | Initial revision | — | 2 months ago |
Article | — |
Fibonacci numbers with no consecutive digits [FINALIZED] Now posted: 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 (decimal) representation has no adjacent digit... (more) |
— | 2 months ago |
Edit | Post #290667 |
Post edited: Reinstate the changes from the previous 2 edits that my edit accidentally removed |
— | 2 months ago |