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.
Hi Hobovsky
Thanks for your reply. I am new to codewar, apologise if my previous comment violated rules.
Thank you.
regards
Please see this on how to write posts.
When looking for divisors, your loop can be much shorter. looping up to num/2 si too much.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hi there
I have been trying to solve this Kata for a few hoursm, my submitted code has less than 10 lines length.
I have profiled my code, and it shows that the test case takes only 0.001 seconds on my computer.
However, the system still throws out a 'timeout' error.
I do not think my code is inefficient. Could anyone please help me?
regards