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.
All characters considered as vowel are currently listed in the description (
y
/Y
are not listed as vowels)Hours later; I added fixed test that your first (?) solution doesn't pass anymore. Thanks for your post.
There is a small flaw (or typo) in your code; the 200 random tests don't catch it every time so yes by mashing the submit button it happens you pass. When your code fails it is with long arrays of long strings and I can't put these long tests in fixed tests; until now I was not able to reproduce the same things with a short test. Sorry...
This comment is hidden because it contains spoiler information about the solution
Description, C++ and C# tests adjusted.
All translations use chars in range
[32; 127]
(126
in Ruby). This "rule", which is not even a rule, should be dropped, and, preferably, C++ and C# tests should be adjusted to use the same range as other languages instead of having ~30 unprintable chars.( JS, possibly others )
Test messages actually consist of ASCII characters between 32 and 127.
Adjusting the description is the better option probably.
Thanks. I was unsure if this rule also applied to output of my send function;
Please look at the first rule again.
Hi during the tests im getting following error
Expected: equal to 00 0 0 0 00 00 0 0 00 0 0 0
Actual: 0 0 00 00 0 0 00 0 0 0
for % ascii cnumber is 37
It's binary pepresentation is then 100101, and example suggests 0100101
Hi. For some languages 'y' is also concidered a vovel. I know this isn't the case for English, but it would be great to highlight it in Kata description, or even test examples. It would spare some confusion for foreigners like me.
That means you have error (my money is reffering to not allocated memory) somewhere in your code, and your function returned no input.
I tried to debug your code. In the first fixed test of "Sample Tests", I got:
or for another one:
It seems (at least...) that your return is always in wrong order... Try first to correct that.
Sorry about that, the testing framework doesn't know how to print pairs so when the solution fails it reports " [unsupported type]". This issue was already showing (maybe you can see it some posts below). The only way is to have a code that doesnt't fail:-(
Maybe you could print yourself the input and your output. Example for output:
Hope that helps!
This comment is hidden because it contains spoiler information about the solution
Loading more items...