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
Hello Abigail!
[EMAIL PROTECTED] (Abigail) wrote in:
On Fri, Oct 11, 2002 at 02:54:20PM -0400, Bernie Cosell wrote:
Write out the digits from 1-9 in order. Then add some plus (+) signs
and times (x) signs to the string to make it add up to 2,002. As
usual in arithmetic,
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
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
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 to