develooper Front page | perl.fwp | Postings from March 2002

Re: TPR1 post-mortem

Thread Previous | Thread Next
From:
Marcelo E. Magallon
Date:
March 8, 2002 09:54
Subject:
Re: TPR1 post-mortem
Message ID:
20020308174912.GA32574@informatik.uni-stuttgart.de
>> Bart Lateur <bart.lateur@pandora.be> writes:

 > >    18   9
 > >    19   1
 > >    20   2
 > 
 > How can one add two digits, and come up with a number larger than 18?

 Sorry, my bad.  I meant that as in "if the input string is 20 the
 output string is 2".  At some point I kept thinking about this in terms
 of abcd -> abbccd -> xyz, where x=f(ab) and so on.

-- 
Marcelo

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About