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.
debug your code
debug your code
this can help: https://docs.codewars.com/training/troubleshooting/#timeout
an
ISSUE
is a bug in the kata. when asking for help, please use theQUESTION
tag ;-)note that the description says:
also see this issue below: because of a flaw in the C++ tests suite, the tests will time out when displaying the output unless your solution is correct
why i cant pass limt test.
The issue is caused by testing framework and stringification of large values when assertion messages are displayed. The problem does not occur when assertions pass, only failing assertions are a problem. A correct solution, which returns correct answers, should not time out.
I will think how to solve the issue and how to fix the kata, or the testing framework.
I can't pass the performance test . why?
how can i reslove it?
you could use pow in cmath,which type is double not long long .
oh!
of course divisor is not zero
I think that he just wants to save spaces.
This comment is hidden because it contains spoiler information about the solution