Ad
  • Default User Avatar

    OK, so it was really just a problem in my optimization...

  • Default User Avatar

    OK, thanks. I will probably need to throw in more of the cleverness ingridient :D

  • Default User Avatar

    Bravo! You win too!

  • Default User Avatar

    You win, g964, that is so neat (and obvious, AFTER I'd stepped through a couple of cycles!).

    Yeah, Voile, but who's to know that a better algorithm is out there, waiting to be found! :o)

  • Default User Avatar

    n goes to 60000. My solution takes about 1500ms.

  • Default User Avatar

    Guys is this more of a math problem or a programming problem? I have like 5 different working solutions, in sample tests I can compute dbl_linear(25000) in 7426ms. But I always get time out on submit. What are the constrains of n? Just so I know, whether my approach is just a bit off or completely wrong. This takes away my otherwise peaceful sleep :/ Thanks.

  • Default User Avatar

    Same here, I don't get the instructions. Sry