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.
ah this is what i started out trying to do but i kept getting errors so i resorted to doing regular itterations
recursion!
Op solved it, closing
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
cool!
Thanks! It helped me solve the problem!
notice that the declaration shows
int *extraPerfect
? that*
means you need to return a pointer to a dynamically allocatedint
array containing the extra perfect numbers. if it had just beenint extraPerfect
you would only have been returning anint
value. finally: you also need to set the provided pointer*count
to the length of the array for which you are returning a pointer. hope that helps.O, thanks a lot! I was looking for a bug in the wrong place:)
You have an infinite loop in your code when bounce is 1.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
good (I'm the translator) I was just checking your code. congrats!
find the problem :)
This comment is hidden because it contains spoiler information about the solution
Loading more items...