[Rio-pm] [Golf] Fatorial

Fernando Oliveira fernandocorrea em gmail.com
Segunda Fevereiro 1 06:56:21 PST 2010


-1

perl -E'map$.*=$_,1..<>;say$.'

Just another Perl Hacker,
Fernando (SmokeMachine)
http://perl-e.org
Sent from Rio De Janeiro, RJ, Brazil


2010/2/1 Alexei Znamensky <russoz em gmail.com>

> E mais um na mesma marca:
>
> perl -E'map{$.*=$_}1..<>;say$.'
>
>
> On Mon, Feb 1, 2010 at 12:15, Stefano Rodighiero <
> stefano.rodighiero em gmail.com> wrote:
>
>> 2010/2/1 Fernando Oliveira <fernandocorrea em gmail.com>:
>>
>> > Odeio fazer isso, mas vc me obrigou... vc esqueceu um espaço...
>> >
>> > perl -E'$.*=$_ for 1..<>;say$.'
>>
>> you're perfectly right (sorry for keeping talking in English,
>> I can read PT to a certain extent, but... não falo :/ )
>>
>> s.
>>
>> --
>> www.stefanorodighiero.net
>> _______________________________________________
>> Rio-pm mailing list
>> Rio-pm em pm.org
>> http://mail.pm.org/mailman/listinfo/rio-pm
>>
>
>
>
> --
> Alexei Znamensky [russoz_gmail_com] [russoz.wordpress.com] [
> www.flickr.com/photos/alexeiz]
> "Though we live in trying times, we're the ones who have to try"
>
> _______________________________________________
> Rio-pm mailing list
> Rio-pm em pm.org
> http://mail.pm.org/mailman/listinfo/rio-pm
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/rio-pm/attachments/20100201/7bea4672/attachment-0001.html>


Mais detalhes sobre a lista de discussão Rio-pm