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 AndrewTheCodegolfer‭

Type On... Excerpt Status Date
Edit Post #282439 Initial revision over 3 years ago
Question Create a Sudoku
Write the shortest program that takes no input and outputs a Sudoku solution. For reference, a Sudoku solution is a 9x9 grid of digits where each column, each row and each of the nine 3x3 grids that compose the board have all of the digits from 1 to 9. Your output may look like this: ``` 12...
(more)
over 3 years ago
Edit Post #282428 Initial revision over 3 years ago
Answer A: Evens or Odds - you know this one
Regex, 8 bytes ``` [02468]$ ``` Matches strings ending in one of 0, 2, 4, 6, 8. `[13579]$` is equivalent but with opposite outputs. Try it on Regex101!
(more)
over 3 years ago
Edit Post #282424 Initial revision over 3 years ago
Answer A: Evens or Odds - you know this one
Mathematica, 4 bytes ``` OddQ ``` Not at all my code - this is the original post by Martin Ender. Prints `True` for odd inputs and `False` for even inputs.
(more)
over 3 years ago
Edit Post #282421 Initial revision over 3 years ago
Question Evens or Odds - you know this one
Get ready for a comparatively dry question - this is intended to be one of the "the"s of the code-golfing dictionary. Create a program which inputs a base 10 non-negative whole number (without leading 0s) and outputs something if the number is odd or something else if the number is even. You M...
(more)
over 3 years ago