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.
Idk what you're doing but the C++ version works fine.
Yep, does not compile whatever...:
Fixed.
I've edited how
k
was generated, it should be fixed now for both C and C++. Mark as resolved if it is.k
should be less thann
because the balls are numbered from0
ton - 1
.C++ has also the same problem.
@danderle ..
@danderle ..
Changed the comment in the initial code, now it says:
?
You need to return an array of elements, where is the memory for that array allocated?
The problem is with the optional parameter. He/she hasn't defined it in the function.
25 people solved it in c++, any clue what the problem might be now?