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.
Funny thing is i did it EXACTLY this way :P.
Except i used Convert.ToChar();
Nice man
Explain what?
Can someone explain?
"You solution should" => "Your solution should"
Thanks, didn't know console.log worked here.
That helped to find the problem.
Maybe your code got caught in an infinite loop?
You can always debug easily by using
console.log
or equivalent.I'm getting "STDERR: Process was terminated. It took longer than 12000ms to complete".
My code only has 4 lines with only one in a loop, how can that takes more than 12 seconds?
Hint: Description says "a length of at least 3, but could be very large".
I think it's possible for valid solutions to be invalid if this happens:
"these solutions now no longer pass"
Just tried and the solution did pass (since it's almost the same as the valid ones).
Some basic math:
(x - z * y)/ z = x/z - (y * z)/z = x / z - y