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 comment is hidden because it contains spoiler information about the solution
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!
creative solution :-)
It's fancy, but it will make a function call and therefore be slower than other functions.
Very smart!
Nice! Could you explain the << operator? I've never seen or used it before.
I'm not particularly keen on this solution. A multiplication is much more readable, and will probably get optimized to this result anyway.
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
amazing solution
this is when 1 kyu solve 8 kyu problems :D
Thanks for the explanation DarkD1 👍
Loading more items...