Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 8478

For challenges about dominoes, the game pieces.

10 votes

Which dominoes are missing?

CJam, 11 bytes {:$7Ym*:$^} An unnamed block (function) with I/O as a list of pairs of integers. Test it here. Explanation :$ e# Sort each pair in the input. 7Ym* e# Get all pairs with elements …
Martin Ender's user avatar
13 votes

Topple some dominoes!

Each replacement computes one step the falling dominoes. … The purpose of this is to skip over | with fallen dominoes on both sides, because this is shorter than ruling out those cases with separate lookarounds in the other two cases. ...(/)\|... $2$2 This …
Martin Ender's user avatar
13 votes
Accepted

Watch 'em fall like dominoes

Each iteration will simulate one step of the dominoes falling and then "sleep" a bit. This first stage replaces / and \ next to a space into __. …
Martin Ender's user avatar