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.
This comment is hidden because it contains spoiler information about the solution
FPE == floating point exception, so look for a line in your code that could have division by zero error or similar problem with modulo
Test Crashed
Caught unexpected signal: SIGFPE (8). Erroneous arithmetic operation. can anyone help me with this pls??
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
This comment is hidden because it contains spoiler information about the solution
ohh i get it thanks
Don't mutate the input.
didn't get it what shall i do
The error message clearly states the issue.
This comment is hidden because it contains spoiler information about the solution
And mark your post as having spoiler content next time.
you need to return somehting, not print it to the console.
This comment is hidden because it contains spoiler information about the solution