"Selector, Lev Y" <[EMAIL PROTECTED]> wrote:
>Hello,
>I have integer numbers represented in base 36 (each digit may have one of 36
>values: ('0'..'9','A'..'Z')).
>For example: '5BFHK'.
>I need to increment the number by 1 or by some step (for example, by 25).
>Here is my first take on incrementing
Hello,
I have integer numbers represented in base 36 (each digit may have one of 36
values: ('0'..'9','A'..'Z')).
For example: '5BFHK'.
I need to increment the number by 1 or by some step (for example, by 25).
Here is my first take on incrementing by 1:
# -
# increment
> > What's odd is that my little Perl program found *TWO* solutions, but one
> > is potentially ambiguous [in particular, given those rules, what should
> > the value of "a*b*c" be?-- it doesn't say whether things should be done
> > left-to-right or right-to-left, so perhaps that could be used
On Fri, Oct 11, 2002 at 02:54:20PM -0400, Bernie Cosell wrote:
> The NPL puzzle for 6 oct was an interesting little Perl exercise [I'm not
> sure how to solve it analytically --- I played with it some to little
> avail --- but it was certainly subject to brute force, and it turned out
> to be a
The NPL puzzle for 6 oct was an interesting little Perl exercise [I'm not
sure how to solve it analytically --- I played with it some to little
avail --- but it was certainly subject to brute force, and it turned out
to be a cute little thing.
Write out the digits from 1-9 in order. Then a