Can someone help me understand the first challenge?
From what I gather I have to loop through 1 - 1,500,000 as a starting n value and find the smallest n that has the longest chain?
Entry submitted. I hope is all works as per the requirements tntcoder.
Are we allowed to send in further submissions if we make any improvements after the first as long as it's before the deadline?
I've improved on my previous 500ms result... It now stands at ~200ms, entirely single-threaded.
I find two answers with longest chain length. 1126015 for the larger and the correct answer for the smaller.I keep getting 910107 as my answer for challenge 1. Is this one of the values of n that has the longest chain or am I way off?
Just sent my entry in!
I keep getting 910107 as my answer for challenge 1. Is this one of the values of n that has the longest chain or am I way off?
Hey Phyre, I'm curious, what specs are you getting those times on?
Just to be perfectly clear: the code we produce has to carry out the whole computation every time it runs? That is, we're not allowed to store answers from the previous stage? Because some of the times people are getting are insane.
Change of tact.. Going for the most ludicrous implementation award excessive parallelism for the win..
So far the prime numbers are generated on the GPU.. At the same time the CPUs are doing other bits...