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.
It seems to be timeout
Thank you for your reply. I changed 2 lines of my code and it works now. I don't know if it is because of the difference between c++14 and c++11.
code failed:
code that is accepted:
Lang: c++ 11/14
Look at the result above.
So, how could 242336(20) comes before 39016(19)??
And:
The two numbers are equal, but how could 242336 comes before 124526?
Using a primes cache accelerates the iteration.
Isn't the isPrime function suspectable?
Hi, I use the same thought with you. But I think the result should plus one.