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.
This comment is hidden because it contains spoiler information about the solution
Fixed Tests: lenCurve
At 1e-06: Expected must be near 1.478197, but got 1.478942
Desmos verification: 1.478942 85754
Wolfram verification: 1/4 (2 sqrt(5) + sinh^(-1)(2)) ~ 1.478942 85754459743382790601943391443507169743059500825188121224933538336352
Haskell fork
Adding random tests.
Java doesn't have random tests
I don't know how I got this error:
Test Crashed
Caught unexpected signal: SIGSEGV (11). Invalid memory access.
It could be I try to return a pointer. But I did the same thing in previous questions and never get an error
Tricky one as usual, but really good one!
C# tests contain methods which look like they should be test methods, but are not annotated and never called. The methods should be either removed, or annotated with
[Test]
.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
😂
Add this
print(g, m, n)
as the first line instep
function and you'll see the input. Check this out: https://docs.codewars.com/training/troubleshooting#print-inputThe problem is in your code, it ignores the boundaries and returns numbers outside the range
[m, n]
.This comment is hidden because it contains spoiler information about the solution
Language, values, Sample tests or Attempt tests?
there is a test case where only two numbers are comming but there is requerement for three numbers
but it's a palindrome...
Loading more items...