Re:The keys to the keydom
by cipherzero on Sunday October 27, 2013 @09:31PM
(#6624551)
Yes that's correct, however you need not actually "log that keys i & j have g as a common factor;"
if g > 1 then just add x[i] to a list, after checking all in x, then just go through that much smaller list. ( even better would be to just group x[I] in a dictionary based on g)...
good example though.
[ Parent
| on HN ]
There are no comments on this comment yet.