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 »

Activity for trichoplax‭

Type On... Excerpt Status Date
Edit Post #287403 Initial revision over 2 years ago
Article Shortest representation in generalised Roman numerals [FINALIZED]
Posted Given an integer, find its shortest representation in generalised Roman numerals. Since there is more than one way to generalise, only the definition shown below applies to this challenge. Definition The digits used are the same as for standard Roman numerals, with the same values: Dig...
(more)
over 2 years ago
Edit Post #287377 Post edited:
Mark as finalized
over 2 years ago
Edit Post #287386 Initial revision over 2 years ago
Question 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 skew diagonal. Less formally, the line to reflect in is from South West to North East, at 45 degrees re...
(more)
over 2 years ago
Edit Post #287377 Post edited:
Specify input is rectangular
over 2 years ago
Edit Post #287376 Post edited:
Mark as finalized
over 2 years ago
Edit Post #287381 Initial revision over 2 years ago
Question 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 codes 32 to 126 inclusive) - This may be a string or any data structure of characters Output - A seq...
(more)
over 2 years ago
Edit Post #287377 Post edited:
Add more test cases
over 2 years ago
Edit Post #287377 Post edited:
Move example out of bullet point list
over 2 years ago
Edit Post #287376 Post edited:
Add hope for explanations
over 2 years ago
Edit Post #287377 Initial revision over 2 years ago
Article Digit antitranspose [FINALIZED]
Now posted: 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 skew diagonal. Less formally, the line to reflect in is from Sou...
(more)
over 2 years ago
Edit Post #287376 Post edited:
Slight adjustment to a test case
over 2 years ago
Edit Post #287376 Post edited:
Amend test cases
over 2 years ago
Edit Post #287376 Initial revision over 2 years ago
Article Encode with ROT13.5 [FINALIZED]
Now posted: 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 codes 32 to 126 inclusive) - This may be a string or any data str...
(more)
over 2 years ago
Edit Post #287238 Post edited:
Remove trailing comma from test cases
over 2 years ago
Edit Post #287329 Post edited:
Conclude switching to 0-bits for knights would be longer
over 2 years ago
Edit Post #287329 Post edited:
Forgot to update Rust Playground link
over 2 years ago
Edit Post #287329 Post edited:
Combine bitmask pairs into single applications
over 2 years ago
Edit Post #287329 Post edited:
No need to stop knights moving off the top of bottom of the board, only the sides
over 2 years ago
Edit Post #287341 Post edited:
Mark code block as text to avoid syntax highlighting making the first letter bold
over 2 years ago
Edit Post #287238 Post edited:
Make test case explanations a hidden section
over 2 years ago
Suggested Edit Post #287341 Suggested edit:
Mark code block as text to avoid syntax highlighting making the first letter bold
(more)
helpful over 2 years ago
Edit Post #287329 Post edited:
Further golfing
over 2 years ago
Edit Post #287329 Initial revision over 2 years ago
Answer A: Knight safe squares
Rust, 236 184 166 142 bytes ```rust |i:u64|{let s=0x101010101010101;let(a,b,c,d)=(i&252s,i&254s,i&127s,i&63s);(i|a>6|c>>15|b>>17|a>>10).countzeros()} ``` All test cases on Rust Playground Takes input as a 64 bit unsigned integer where each 1-bit represents a knight and each 0-bit represent...
(more)
over 2 years ago
Edit Post #287323 Post edited:
Mark as finalized
over 2 years ago
Edit Post #287324 Initial revision over 2 years ago
Question 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: ```text acemnorsuvwxz t i bdfghklpqy j ``` Letters on the same line are defined to be ...
(more)
over 2 years ago
Edit Post #287323 Post edited:
Add test case
over 2 years ago
Edit Post #287323 Post edited:
Add test cases
over 2 years ago
Edit Post #287323 Post edited:
List same height letters in alphabetical order
over 2 years ago
Edit Post #287323 Post edited:
Allow different formats for input and output
over 2 years ago
Edit Post #287323 Post edited:
Fix test case format
over 2 years ago
Edit Post #287323 Post edited:
Modify sort order and clarify output
over 2 years ago
Edit Post #287323 Initial revision over 2 years ago
Article Sort letters by height [FINALIZED]
Now posted: 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: ```text acemnorsuvwxz t i bdfghklpqy j ``` L...
(more)
over 2 years ago
Edit Post #287153 Post edited:
Mark as finalized
over 2 years ago
Edit Post #287321 Initial revision over 2 years ago
Question Connect the corners without 4 in a row
Connect opposite corners of a rectangle of characters without putting 4 characters in a row. Input - Two numbers, W and H, representing the width and height of the rectangle - Each number will be in the range 2 to 70 Output - A rectangular grid of characters, of width W and height H - You m...
(more)
over 2 years ago
Edit Post #287153 Post edited:
Add link to validator
over 2 years ago
Edit Post #287153 Post edited:
Remove accidental link markdown
over 2 years ago
Edit Post #287153 Post edited:
Improve examples
over 2 years ago
Edit Post #287153 Post edited:
Remove redundant examples
over 2 years ago
Edit Post #287153 Post edited:
Golf the output spec
over 2 years ago
Edit Post #287319 Post edited:
Remove clashing word "explanation"
over 2 years ago
Edit Post #287154 Post edited:
Mark as finalized
over 2 years ago