We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #109: Darts
You are viewing a single comment's thread. Return to all comments →
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?