So it verifies solutions when they don't actually work or the opposite? What sort of solutions get past the tests/fail the tests when they should be failing/passing?
Is this for Javascript? You must use the new function that is automatically implemented for Javascript because Math.pow() can't handle negative powers.
So it verifies solutions when they don't actually work or the opposite? What sort of solutions get past the tests/fail the tests when they should be failing/passing?
Is this for Javascript? You must use the new function that is automatically implemented for Javascript because Math.pow() can't handle negative powers.
In Javscript I've added a funnction to fix that issue. For Python, I don't notice any instances where the result was incalculable.
Random tests added :)
Maybe post your answer - be sure to mark it as a spoiler and I'll see if its the test cases or your code.
Sorry, it won't allow me to re-publish - server keeps timing out
I've added random tests
This comment is hidden because it contains spoiler information about the solution
I'm unable to re-publish - server keeps timing out.
Yeah that's should be an issue only with javascript. I'll fix it right now.
Yeah absolutely. Sorry first day on codewars but loving it so far.