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.
what exactly does
the issue was in array ending
mean?This comment is hidden because it contains spoiler information about the solution
It returns score: 100 in my IDE and in online compiler, also I've tried multiple attemps and it always returns wrong on random test.
Your code fails this test:
Try putting this in your IDE to see the result. Your code returns
700
, whereas it should return100
In random tests submited answer is incorrect, but when I copy test case to my IDE it works well. How to fix?