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.
unclear issue, and 1,000+ Go completions
When you have "failure (int_of_string)" the output you are seeing above doesn't correspond to the test you have failed but to the test you previouly succeeded.
Put in "Sample Tests"
dotest "10252519345963644753025" 450010;
as first test; you will fail it but you will simply have "Failure("int_of_string")".Moreover your post is a question, not an issue. You should read https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution.
I passed my basic but when I hit attempt, all the expected and receied answers are matching but its failing for "failure (int_of_string)" in ocaml. Is there anyway I can fix this specifically for the attempt?
Not an issue. All the tests are correct.
250+ people completed it in Go. Can you specify the issue? Issue with your code != kata issue.
Give examples of what input you get that's incorrect and what's expected, and what you're returning, otherwise this issue will be closed for missing information.
The test cases is not passing for random cases, but it is for basic in Go Lang
This comment is hidden because it contains spoiler information about the solution
My bad!
You never return -1, your condition is false.
This comment is hidden because it contains spoiler information about the solution
I tried many existing solutions and all worked fine. If you want you can post your solution and mark it as spoiler because your solution as I can see it now is incomplete.
I am trying this with Ocaml, but before anything runs I am getting a syntax error in one of the dependencies with an exit code 2. Does anyone know how to rectify this?