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.
Hi,
I edited the description a bit, now the wording is:
"You will have access to a (preloaded) dictionary (called
@COUNTRIES
) containing id's and their corresponding length."Is this sufficient for you?
This comment is hidden because it contains spoiler information about the solution
sry for the late replay - i usually play codewars at the end of the day.
thanks for the reminder though - i've got no email notice for the issues.
please have a look at the code - as you see now it's only 1's and 0's...
randomized tests dont produce only zeros - unfortuinatly i've no idea why the old check did not word...
new revision uses binary-strings only...
i'll leave the nil-test in. I think in every funktion the input should at least be santinized for nil/NULL.
Also: I dont know thy one guy got performance issues, worked perfectly fine for me - as he used the same code as I did.
since the original c-version returns a long I assumed that there should be tests with "long" inputs.
ty, should be fixed in new revision
although i think it should make NO DIFFERENCE to your solution. but now the ruby-tests should only be binary only.
I'll leave
nil
in the tests. My reason is: please check your input of every function against nil...added test for real validation - until now the tests only covered the iban-length
you got a bug: you did not move the first block to the end.
added test for real validation - until now the tests only covered the iban-length
you got a bug: you did not move the first block to the end.
you only checked the length - added test for real validation
you only checked the length - added test for real validation
you only checked the length - added test for real validation
can you add some test-cases to the javascript solution.
for beginners it may be confusing when their code does not seem to work when they hit "attempt"
is it possible to update the kata-description at least or is this also depending on the c-translator?
I just saw, that the descriptions are the same for every translation.
Then the c-translation is wrong!
Btw, why do you think nobody completes this kata in c - its just 7 kyu?
C: 4 of 4,061
C++: 409 of 4,061
C#: 1,003 of 4,061
js: 1,237 of 4,061
py: 1,089 of 4,061
rb: 599 of 4,061
please, don't assume that a issue created in pure anger is arrogance or i misunderstood the task.
Just belive me: the C translation does not match the description. And I'm sorry that thsi issue is visible to every translation - i assumed it was only visible for C, otherwhise I would have mentioned it.
so please can you implement the fix mentioned by lszcs?
I am talking about the c translation, where the description state is what I've posting below.
An it is an issue, because you approved it!
This whole issue came to me, because a friend of mine stuck solving the challange.
The description is totally wrong, misleading people to assume that it should be
10101010
1111111111
by providing examples, and does not even contain the word ascii.
and this is not arrogance - this is pure anger!
THe part which causes the most anger is, that the tests - static and dynamic does not even cover the given sample!
Loading more items...