[Rio-pm] [Golf] Fatorial

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


Quando eu criei o tópico o objetivo era calcular o fatorial, eu não
pensei nisso de saída, só tinha que calcular e imprimir.

Você está certo, não é a mesma saída, então não vale!

Minha última tacada não valeu!

2010/2/1 Alexei Znamensky <russoz em gmail.com>:
> well, Mantovani, a saída não é exatamente a mesma, mas enfim, funfa
>
> On Mon, Feb 1, 2010 at 13:36, Daniel de Oliveira Mantovani
> <daniel.oliveira.mantovani em gmail.com> wrote:
>>
>> 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."
>> _______________________________________________
>> 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
>



-- 
"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