in reply to (tye)Re2: (Golf): Sieve of Eratosthenes
in thread (Golf): Sieve of Eratosthenes
53 characters:
All your t-shirts are belong to me! j/k :-)sub sieve2 { grep{@_[map$a*$_,2..@_/($a=$_)]=0if$_[$_]>1}@_=0..pop }
MeowChow s aamecha.s a..a\u$&owag.print
|
---|
In Section
Meditations