[Coco] Project Euler and the Coco

Bill Barnes da3m0n_slay3r at yahoo.com
Sat Nov 15 13:08:35 EST 2008


reread the link: http://projecteuler.net/index.php?section=problems&id=9

it specifically states the values meet the following criteria.

A<B<C                     It does not state c > A+B
A+B+C=1000
A^2+B^2=C^2

when you find values fpr A, B, and C that meet these, you have to multiply them together (A*B*C) to obtain it's value.  At least that is the way I understand it.

-Later!   -WB-    -- BABIC Computer Consulting.


--- On Sat, 11/15/08, someone wrote:

> > I see no apparent reason why B must be in the range 334 to 667, as
> > John assumed.  Why exclude, for example, the abc combination 200, 300,
> > 500, which properly adds to 1000, from testing?

> because (a+b) < c



      



More information about the Coco mailing list