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.
I'm getting a timeout on problem 8 onwards. I'm storing the number of minimum steps to get to each point. I've also tried another method where i use a priority queue and store the steps to 0 for each value. I've also tried initializing the steps to zero for the first 10000 items. Whatever I do I am always getting these timeouts. Does anyone have any idea?
Down to Zero II
You are viewing a single comment's thread. Return to all comments →
I'm getting a timeout on problem 8 onwards. I'm storing the number of minimum steps to get to each point. I've also tried another method where i use a priority queue and store the steps to 0 for each value. I've also tried initializing the steps to zero for the first 10000 items. Whatever I do I am always getting these timeouts. Does anyone have any idea?