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.
thanks, it's clear now
in an example we have an array of [50,40,30,20,10] that equal 150 in total, and k = 9
so I got in my result 144, 144 is a multiple of 9 but it's not working and they said the correct output should be 90
can someone explain it for me please, maybe I didn't understand the kata
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, Can you explain this code!
The code work correctly in my text editor, and the test goes well, but when I submit the code I get syntax error !!! so like this error should be displayed when I test the code not just when I submit it