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.
should have been raised as an issue. no UB here, just a mistake on my part, an
==
that should have been a!=
during comparison when either of the words was a null pointer. fixed.I don't know about your solution, but with C this is not uncommon to happen. This sometimes happens due to undefined behavior (UB) coming from your solution and influencing the tests. I was told that it's difficult / impossible to combat this from tests' side.
I only wrote code for returning words count, the array function words_to_array is empty.Solution got aproved. It does not check the array?
but you should specify what the problem actually is, because I'm not seeing it ( granted, I don't know much C ).
should mark this as an issue
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
You have to check if the element is greater then ALL to the right. Not just the next one over. So in your example you can see that none of them is greater then 105. The other one 14 isn't greater then 14 is why there is only one 14.
Approved.
Approved.
NASM fork with more informative tests logs.
Is there some question I cannot see?
NASM
Description:
sample tests:
What I am missing?