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 arbitrarily took the largest number that is tested to be 10^6 and my program happened to be accepted, but how would I find out the largest number that is to be tested when as far as I know, the number could be up to infinity?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #30: Digit Nth powers
You are viewing a single comment's thread. Return to all comments →
I arbitrarily took the largest number that is tested to be 10^6 and my program happened to be accepted, but how would I find out the largest number that is to be tested when as far as I know, the number could be up to infinity?