We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
You shouldn't check every number under 10^k, when k >= 8, It's almost certain you program will time out. Think about another way to solve this problem, something dp....
Project Euler #92: Square digit chains
You are viewing a single comment's thread. Return to all comments →
You shouldn't check every number under 10^k, when k >= 8, It's almost certain you program will time out. Think about another way to solve this problem, something dp....