We’re rewarding the question askers & reputations are being recalculated! Read more.
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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 18535

a challenge to build objects (e.g. code, representation of real world objects) according to pre-defined rules and/or input (also often randomised).

4
votes
Ruby, 27 bytes ->a{(z=a).times{z=[z]*a};z} Only 1 byte more but using a different approach instead of the 'eval' trick from xnor's wonderful Python answer.
answered Mar 2 '17 by G B
1
vote
Ruby using '-n', 17+1 = 18 bytes p chomp.split *$* How it works Input from file separator is given as command line parameter since we only have 1 parameter, *$* splats the string and we can use i …
answered Mar 1 '17 by G B
0
votes
Ruby, 149 147 bytes $. -~$. -~-~$. -~-~-~$. -~-~-~-~$. -~-~-~-~-~$. -~-~-~$.>>~$. -~-~-~-~-~-~-~$. -~$.>>~-~-~$. -~$.>>~-~-~$.|-~$. -~-~-~-~-~$.>>~$. -~-~-~-~-~$.>>~-~-~$.|-~-~$. Explanation: $.is …
answered Feb 15 '17 by G B