[Rio-pm] [Golf] Fatorial

Daniel de Oliveira Mantovani daniel.oliveira.mantovani em gmail.com
Segunda Fevereiro 1 07:36:57 PST 2010


perl -E'say$.*=$_ for$...<>'

:)

2010/2/1 Fernando Oliveira <fernandocorrea em gmail.com>:
> -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
>
>
> _______________________________________________
> Rio-pm mailing list
> Rio-pm em pm.org
> http://mail.pm.org/mailman/listinfo/rio-pm
>



-- 
"If you’ve never written anything thoughtful, then you’ve never had
any difficult, important, or interesting thoughts. That’s the secret:
people who don’t write, are people who don’t think."


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