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.
using the other form of for is clever
kinda ironic lol
approved
suggested tag:
permutations
Javascript update fork
var
sugh I wasn't sure you could use modulo in bash
i try that, my code pass when i test it, but when i attempt my code it fails.
I try the same random number in test section it pass, but i don't know why when i attempt the code it fail
I provided the lowest possible test case for which your code fails so that it would be easiest for you to debug.
Your code always passes for the value
6
. However, your code is not correct. Try debugging it by adding this to theSample_Tests
:C Translation
why when i test my code the results be passed, but when i attempt my code the result be failed, something for the same number in the test, like 6 when come at the attempt it's failed
Resolving; almost certainly not a kata issue.
There are plenty of working C++ solutions and I've just written another to double-check - the random tests do not seem to have any issues, and I attempted them many times to be sure.
You can attach your code here as long as you're using spoiler tags. I suggest however that you're probably just mishandling floats; it would be easy to do so on this kata and the solution as described in the instructions works otherwise.
This comment is hidden because it contains spoiler information about the solution
Very funny and easy challenge, it's more about being precice than else, congratulations.
Loading more items...