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 makes me want to weep
Another minor optimization for anyone else who might be viewing; you can start the loop from 1 rather than 0, since you already grabbed the first char of the full_name string
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).
jeff
i'm deceased
This code doesn't follow typical styling, which would have the line broken into a couple new lines and helps dramatically with readability. I think some believe one-liners look cooler.
This comment is hidden because it contains spoiler information about the solution
Me every time I hit "submit"
This comment is hidden because it contains spoiler information about the solution
I am very impressed you managed this in one line! /s
I'm so jealous, I tried coming up with a formula for way too long. I'm kicking myself seeing how "simple" it was.
me too ;)
They locked me in a room
This comment is hidden because it contains spoiler information about the solution
Loading more items...