Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Mathy challenge in fact.
This is a 7? lol
Who decided this was an 8?
My solution works locally, but fails when submitted.
There's no failing testcase because your solution apparently returns a correct answer for all test cases. It just makes tests run too long, and they are force-stopped.
I am not sure what you mean by "print and flush", but it will help you if it would make your solution faster, yes. And will not help you if not :)
But there's no test case presented that illustrates an issue. Would a print and flush help with this harness?
simple answer is your solution is not efficient enough for the more stringent tests
Can someone help me understand why all my tests pass but the harness times out?
Claramente esta no es la respuesta que daria un Junior jaja
Yes, that's how a generator works.
for each generator call, it must produce one number from the sequence?????
Tests go up to ~
500 000
. Your solution is horribly inefficient. Try to do less work.There are currently 34 solutions in Python.
is there a solution in python? I think there is a time limit (12 secs) when you attempt. my code pass the small and medium sized smoke test but no luck with large dataset. I just wanna check if there is a solution, I don't ask for the soultion itself.
Loading more items...