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.
your solution writes past the end of the
output
buffer: you are printing a trailing'.'
, and then erase it. this is not robust: the worst-case output size is16
i.e.strlen("100.100.100.100") + 1
, so the caller of the function can expect that16
bytes should be enough, but your solution needs more bytes than that. as a result of writing out-of-bounds, you corrupt the tests suiteThey do.