Post Reply 
Challenge: sum of squares. Let's break 299
01-24-2018, 09:43 PM
Post: #28
RE: Challenge: sum of squares. Let's break 299
(01-24-2018 09:18 PM)Allen Wrote:  I think I may have found a general solution to this problem.
As a test case I picked 4 numbers over 299 and got solutions for all 4: 300,310, 400,487

The un-optimized code is than 30 lines of python and finishes in a few min on a single CPU, near-linear time, lear linear memory requirements.

Nice!

(01-24-2018 09:18 PM)Allen Wrote:  Before I post code and comments, I would be grateful if someone could verify my solution #487.

I'd be happy to, but you'll have to post that solution first. Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Challenge: sum of squares. Let's break 299 - Thomas Okken - 01-24-2018 09:43 PM



User(s) browsing this thread: 1 Guest(s)