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.
This is why I thought that itertools is considered cheating :<
I thought that writing your own product func is the goal :)
Thanks ❤️
A very interesting kata. A little clumsy, but I decided
Lmao what?
everytime I look at this and remember that I used lambda I hate myself a little more. :)
Same man :D But that´s how you learn. I can gurantee that neither of us will forget this lol
thx
best practices
Thank you so much for that.. my brain was starting to ache!!
Idia for 4 kata in seria.
Analog signal on input :). And if it possible to read byte-by-byte stdin (or simulate it)
Your code contains undefined behavior. As a result, its behavior is unpredictable, this is why it sometimes passes and sometimes fails. I ran your code in a static analyzer and it seems like you do not always allocate enough memory for the
ascii_string
. In particular, it seems to happen when the input contains SOS signals - since they need 3 characters to be represented, as opposed to the other symbols.Hello, I was trying to solve this kata in C and had problems with random tests at freeing pointer I believe (I don't remember exact error message).
I was trying reproduce this error to attempt to solve it, but I didn't managed to reproduce it. I tried to output the random tests to try them out, but I still didn't get any error message. Now when I again run the tests (to write down error message and at the same time get another set of random tests) I passed the tests,
while there was just 2 random tests there. (I beleive before there were 100 random tests needed, and I was able to output about 20 of them before the error appeared.) What can I do to reproduce the issue, or was there something wrong with kata and that is being fixed right now?
This comment is hidden because it contains spoiler information about the solution
You've already passed the kata, but I've edited the javascript tests so they don't truncate the output in the error message.
Loading more items...