Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: mini-golf: convert integer into list of powers of two

by moritz (Cardinal)
on May 24, 2012 at 07:29 UTC ( #972193=note: print w/replies, xml ) Need Help??


in reply to mini-golf: convert integer into list of powers of two

Here is a Perl 6 solution, not golfed very hard:

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://972193]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2021-05-15 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (151 votes). Check out past polls.

    Notices?