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.
in the ASCII table you will find '\0' is equal to the demical '0'.
*buffer = 0; is equivalent to *buffer = '\0'
But then where in buffer will the char be put? Either buffer must be increased, or you need an index variable.
Edit: oh wait, you're saying in addition to.
This comment is hidden because it contains spoiler information about the solution
I never said it didn't. But I also stated the truth.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Please read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution . Also if you want someone to help you out you should post your code here and mark it as having spoiler content.
@Jackyjk yes,
6141381611
is the correct answer for the random test inputs in the OPI don't really see how that's possible. Is this for JS? Try submitting again.
mine : 6141381611
???
expected NaN to equal NaN
I don't know
wtf? what happened
Your solution does not even pass sample tests. You can start with debugging these locally.
This comment is hidden because it contains spoiler information about the solution
Loading more items...