só como piada:<br><br>perl -E'@a=1..<>;for$num(@a){$i++;map{push@a,(0)x($num-2)}@a}say scalar@a'<br><br clear="all">Just another Perl Hacker,<br>Fernando (SmokeMachine)<br><a href="http://perl-e.org">http://perl-e.org</a><br>
Sent from Rio De Janeiro, RJ, Brazil<br>
<br><br><div class="gmail_quote">2010/2/1 Daniel de Oliveira Mantovani <span dir="ltr"><<a href="mailto:daniel.oliveira.mantovani@gmail.com">daniel.oliveira.mantovani@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Li as regras:<br>
<a href="http://www.xs4all.nl/%7Ethospel/golf/rules.html" target="_blank">http://www.xs4all.nl/~thospel/golf/rules.html</a><br>
<br>
Agora não vai mais ter erro :)<br>
<div><div></div><div class="h5"><br>
2010/2/1 Fernando Oliveira <<a href="mailto:fernandocorrea@gmail.com">fernandocorrea@gmail.com</a>>:<br>
> Tá errado.<br>
><br>
> Just another Perl Hacker,<br>
> Fernando (SmokeMachine)<br>
> <a href="http://perl-e.org" target="_blank">http://perl-e.org</a><br>
> Sent from Rio De Janeiro, RJ, Brazil<br>
><br>
><br>
> 2010/2/1 Daniel de Oliveira Mantovani <<a href="mailto:daniel.oliveira.mantovani@gmail.com">daniel.oliveira.mantovani@gmail.com</a>><br>
>><br>
>> perl -E'say$.*=$_ for$...<>'<br>
>><br>
>> :)<br>
>><br>
>> 2010/2/1 Fernando Oliveira <<a href="mailto:fernandocorrea@gmail.com">fernandocorrea@gmail.com</a>>:<br>
>> > -1<br>
>> ><br>
>> > perl -E'map$.*=$_,1..<>;say$.'<br>
>> ><br>
>> > Just another Perl Hacker,<br>
>> > Fernando (SmokeMachine)<br>
>> > <a href="http://perl-e.org" target="_blank">http://perl-e.org</a><br>
>> > Sent from Rio De Janeiro, RJ, Brazil<br>
>> ><br>
>> ><br>
>> > 2010/2/1 Alexei Znamensky <<a href="mailto:russoz@gmail.com">russoz@gmail.com</a>><br>
>> >><br>
>> >> E mais um na mesma marca:<br>
>> >><br>
>> >> perl -E'map{$.*=$_}1..<>;say$.'<br>
>> >><br>
>> >> On Mon, Feb 1, 2010 at 12:15, Stefano Rodighiero<br>
>> >> <<a href="mailto:stefano.rodighiero@gmail.com">stefano.rodighiero@gmail.com</a>> wrote:<br>
>> >>><br>
>> >>> 2010/2/1 Fernando Oliveira <<a href="mailto:fernandocorrea@gmail.com">fernandocorrea@gmail.com</a>>:<br>
>> >>><br>
>> >>> > Odeio fazer isso, mas vc me obrigou... vc esqueceu um espaço...<br>
>> >>> ><br>
>> >>> > perl -E'$.*=$_ for 1..<>;say$.'<br>
>> >>><br>
>> >>> you're perfectly right (sorry for keeping talking in English,<br>
>> >>> I can read PT to a certain extent, but... não falo :/ )<br>
>> >>><br>
>> >>> s.<br>
>> >>><br>
>> >>> --<br>
>> >>> <a href="http://www.stefanorodighiero.net" target="_blank">www.stefanorodighiero.net</a><br>
>> >>> _______________________________________________<br>
>> >>> Rio-pm mailing list<br>
>> >>> <a href="mailto:Rio-pm@pm.org">Rio-pm@pm.org</a><br>
>> >>> <a href="http://mail.pm.org/mailman/listinfo/rio-pm" target="_blank">http://mail.pm.org/mailman/listinfo/rio-pm</a><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Alexei Znamensky [russoz_gmail_com] [<a href="http://russoz.wordpress.com" target="_blank">russoz.wordpress.com</a>]<br>
>> >> [<a href="http://www.flickr.com/photos/alexeiz" target="_blank">www.flickr.com/photos/alexeiz</a>]<br>
>> >> "Though we live in trying times, we're the ones who have to try"<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> Rio-pm mailing list<br>
>> >> <a href="mailto:Rio-pm@pm.org">Rio-pm@pm.org</a><br>
>> >> <a href="http://mail.pm.org/mailman/listinfo/rio-pm" target="_blank">http://mail.pm.org/mailman/listinfo/rio-pm</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Rio-pm mailing list<br>
>> > <a href="mailto:Rio-pm@pm.org">Rio-pm@pm.org</a><br>
>> > <a href="http://mail.pm.org/mailman/listinfo/rio-pm" target="_blank">http://mail.pm.org/mailman/listinfo/rio-pm</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> "If you’ve never written anything thoughtful, then you’ve never had<br>
>> any difficult, important, or interesting thoughts. That’s the secret:<br>
>> people who don’t write, are people who don’t think."<br>
>> _______________________________________________<br>
>> Rio-pm mailing list<br>
>> <a href="mailto:Rio-pm@pm.org">Rio-pm@pm.org</a><br>
>> <a href="http://mail.pm.org/mailman/listinfo/rio-pm" target="_blank">http://mail.pm.org/mailman/listinfo/rio-pm</a><br>
><br>
><br>
> _______________________________________________<br>
> Rio-pm mailing list<br>
> <a href="mailto:Rio-pm@pm.org">Rio-pm@pm.org</a><br>
> <a href="http://mail.pm.org/mailman/listinfo/rio-pm" target="_blank">http://mail.pm.org/mailman/listinfo/rio-pm</a><br>
><br>
<br>
<br>
<br>
--<br>
"If you’ve never written anything thoughtful, then you’ve never had<br>
any difficult, important, or interesting thoughts. That’s the secret:<br>
people who don’t write, are people who don’t think."<br>
_______________________________________________<br>
Rio-pm mailing list<br>
<a href="mailto:Rio-pm@pm.org">Rio-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/rio-pm" target="_blank">http://mail.pm.org/mailman/listinfo/rio-pm</a><br>
</div></div></blockquote></div><br>