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.
well because the form of the serie 1/1 + 1/4 ... etc
it will never grow bigger than 9
how come that it has passed the test with its str[3]?
Yes, including almost all C-style bugs possible to fit into such short solution ;)
SImple and impressive, is it a C style?
Very much similar code didn't work for me.
There is no rounding here?
How is this marked as best practice & clever?
How about this ? [2, 2, 2, 2, 2, 2, 2, 1]
If a single number is greater than 9...
sorry, you are right
This always overruns the output buffer. "1.00" requires a char[5] to store.
spoiler flags, please... (coments on solutions are visible in the dashboard)
This comment is hidden because it contains spoiler information about the solution