Project Euler #109: Darts

  • + 1 comment

    Correct me if I'm wrong, but don't we still have to add every distinct ways with score ? Even if we have a linear recurrence relation matrix and figure out a method to calculate the matrix exponentiation quickly, we can't skip those results of , ... etc, or could we?