Problem 069
Posted: Sun Feb 22, 2009 12:37 am
I have a code that works, but gets slow at big numbers becouse of GCD.
I don't see how to apply memoization or some handy break...
Any ideas how to get rid of GCD, please?
I don't see how to apply memoization or some handy break...
Any ideas how to get rid of GCD, please?