Project Euler #87: Prime power triples

  • + 0 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 ?