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.
My python 3 code is timing out at testcase 8 and passes all the other cases.
I have profiled it with x in range(10e16, 10e16 + 10e5) which is even worse than the worst test case here and it's running in less than 5 sec on my laptop, so I don't understand why it is timing out here.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Decibinary Numbers
You are viewing a single comment's thread. Return to all comments →
My python 3 code is timing out at testcase 8 and passes all the other cases.
I have profiled it with x in range(10e16, 10e16 + 10e5) which is even worse than the worst test case here and it's running in less than 5 sec on my laptop, so I don't understand why it is timing out here.