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.
Using #define in modern C is not a good practice. You could use inline function, but IMHO neither was necessary in this case. Furthermore, the ? expression is totally unnecessary.
It is a case, just not one they tested for apparently, the specification says a string with just whitespace should return an empty space
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That's potentially a lotta allocation
num==0 should return 1 whoops
Why would you call concat on top of tostring?
i think we learned this in elementary school. little did i know it would solve 2 4kyu katas 20 years later ~~
I've erradicated all warnings. try it now, thanks
C tester passes const * to free and free expects void*, so test fails