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.
But that's exactly it ;-)
%[]
only matches a non-empty sequence of characters. As soon as the match fails,sscanf()
returns, without parsing the integer.You wrong, because string VOWELS is of constant length (5) and does not depend on an input. So it will be O(n*const) = O(n).
me too ;)
also,
src == ""
does not do what you think it does. In C, usestrcmp()
to compare strings. Using==
compares their addresses in memoryYour solution is almost good, but it has some problems:
Your solution is missing some things, it's not a kata issue.