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.
Hi myjinxin2015 ! I modified my code following your advice and it worked.
I imagine approximately why the random tests failed, interesting anyway :)
Thanks !
Random tests seem broken, or I didn't understood the challenge :) :
[ 1003, 100, 99, 39, 30 ]
✘ Expected: 199, instead got: 69
[ 1011, 98, 20, 68, 29 ]
✘ Expected: 166, instead got: 49
[ 1043, 28, 97, 73, 68 ]
✘ Expected: 170, instead got: 96