Search found 4 matches

Re: Magnificent Midnight Math Madness!!! [Project Euler]

My first thought was looping, but then I realized the fuckup that would result from array sizes. Recursive functions it is. My hint is that you should start with whatever's easiest, since the solution comes from having insights about the question. The right optimizations to apply become more obviou...

Re: Magnificent Midnight Math Madness!!! [Project Euler]

So does Python though (ints have arbitrary precision automatically in 3.*), the issue is speed. I used Python and I certainly recommend it. If your program isn't fast enough, you should be optimizing the algorithm anyway. You might still want to download the PyPy runtime to get within throwing dist...

Go to advanced search