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.
Hello everyone,
Nice problem and good job for hackerrank but like euler problems I solved before, I spent basically 30 minutes getting an answer to the Euler problem + 30 minutes figuring out how to handle the many test cases (i.e, my code works for T = 1 and N = 50 * 10 ** 7, let's make it work for large T and N = 10 ** 7).
What do you think of that feature for hackerrank problem (making you think on how to handle a large number of cases) ?
Is it a necessary evil so that cheater / people who program something not generic enough can't solve the problem and get the 100 points ? is it a good thing to enhance one's programming skills ? it's just a bad thing ?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #87: Prime power triples
You are viewing a single comment's thread. Return to all comments →
Hello everyone, Nice problem and good job for hackerrank but like euler problems I solved before, I spent basically 30 minutes getting an answer to the Euler problem + 30 minutes figuring out how to handle the many test cases (i.e, my code works for T = 1 and N = 50 * 10 ** 7, let's make it work for large T and N = 10 ** 7).
What do you think of that feature for hackerrank problem (making you think on how to handle a large number of cases) ?
Is it a necessary evil so that cheater / people who program something not generic enough can't solve the problem and get the 100 points ? is it a good thing to enhance one's programming skills ? it's just a bad thing ?