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.
Flexing his shredded abs on us! Cool solution!
El resultado está claro, pero... faltaría por declarar la librería a la que corresponde la función"abs()", es decir: #include <math.h>.
I think that the result/return is understandable, but... you have not declared the library for the use of the "abs()" function, I mean: #include <math.h>.
Thanks a lot for your solution!
It's fancy, but it will make a function call and therefore be slower than other functions.
Very smart!
Missing
#include <stdlib.h>
.Fancy
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
His keyboard broke before finnish the fix.
It doesnt work if the string is empty
This comment is hidden because it contains spoiler information about the solution
Dear rndd-AK,
what do You mean by "call instead"? If I understand correctly, using of "if then else" isn't obligatory. My opinion: more solutions - more fun :)
Nevertheless - this is a very good question, see below for the more detailed answer.
This comment is hidden because it contains spoiler information about the solution
Who will clear the memory allocated by you ?
You're awesome
Loading more items...