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.
please update to julia 1.0.
.
This comment is hidden because it contains spoiler information about the solution
Thank you very much geoffp! Great kata btw!
You're using
sizeof(s)
for the length of the string; it should bestrlen(s)
.How does this cause the weird behaviour you saw? The value of
sizeof(s)
will always be 8, the number of bytes used to represent a pointer. So your code is always reading 8 characters, regardless of how long the string really is. If the string is shorter than 8 characters, the code reads some of whatever happens to sit after it in memory - which is probably the string for the next test. So by commenting out some tests, you affect the behaviour of your code on other tests.This comment is hidden because it contains spoiler information about the solution
This line of the description tricked me as well...Thought the input characters would be only uppercase letters and spaces...
Fun kata to do but this is somewhat misleading.
Hey, first this is a great kata and I enjoy solving it!
However it would might be better for understanding the purpose of this exercise if the description would contain that the maximum of the input is 3999, with regards to "Remember that there can't be more than 3 identical symbols in a row."
Thanks for the useful exercise!
As you can see it's not a problem of the kata... Top of the page: 171 guys passed the C kata out of 1991. It's a CW error. You can report it at CW as a bug.
Hello,
i believe this is a useful kata to learn from. Thanks for making it.
However I am having an issue: anytime I want to run the test samples or hit the attempt button i get a network issue and my code is not executed.
Have any of you already met this? I did not experience this with other katas.
"Network Error
This error was caused due to an issue processing the web request, not because of an issue executing your code. You can retry the request."