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.
If you remove your
print
statements, your code will work. It seems like printing anything at all in Perl messes with Codewars' processing of the output and makes tests appear to pass even though they fail.What's wrong with this kata in Perl?
I pass initial [Test] and all 100 random tests from [Attempt] are all green.
Still I cannot [Submit] solution.
Output doesn't give a clue... as it only tells the passed tests. BETTER SAY WHAT'S WRONG INSTEAD (if at all).
This comment is hidden because it contains spoiler information about the solution
You need to include the relevant imports in your solution.
This comment is hidden because it contains spoiler information about the solution
Approved
Approved
Lua translation!
Lua translation!
This comment is hidden because it contains spoiler information about the solution
Ahhhh, I was thinking in terms of JS only but forgot to consider this kata is for a lot of other languages too. This makes more sense now. Thanks for being a mod.
In the case I mentioned above, you could think sorting alphabetically without distinction between capital and lowercase letters. Check this other post: https://www.codewars.com/kata/57cfdf34902f6ba3d300001e/discuss#64a5b40cdddc251219dfa1de
It includes the information about ASCII chars, because you could otherwise think that
B
goes aftera
and that's not the case here.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...