Project Euler #115: Counting block combinations II

  • + 0 comments

    Maybe your optimisations for big m have a detrimental effect on the runtime for small m. For small m the number of red zones can become very big. In Python I have been able to run all tests in sub second time.