Post Reply 
Challenge: sum of squares. Let's break 299
02-01-2018, 10:54 AM (This post was last modified: 02-01-2018 11:08 AM by TheKaneB.)
Post: #58
RE: Challenge: sum of squares. Let's break 299
Nice and compact!
There are a lot of Python trickeries, like ranges, zip, array slices, etc... but it should be possible to port it to HPPPL.
I think you could cache the "squares" and maybe gain a bit more speed.

EDIT: nevermind, I did try it and the difference is negligible.

Software Failure: Guru Meditation

--
Antonio
IU2KIY
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 - TheKaneB - 02-01-2018 10:54 AM



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