an ISSUE is a bug in the kata. when asking for help, please use the QUESTION tag ;-)
note that the description says:
Optimize the given Brainfuck code.
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
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.
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