You are viewing a single comment's thread. Return to all comments →
Is there a time constraint for problems like these, my code takes more than 30 seconds for n = 16000 , PS. Im new to hackerrank contests
Yes.
Have a look at the constraints
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Project Euler #95: Amicable chains
You are viewing a single comment's thread. Return to all comments →
Is there a time constraint for problems like these, my code takes more than 30 seconds for n = 16000 , PS. Im new to hackerrank contests
Yes.
Have a look at the constraints