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.
maximum range is now 544,500,000 which is derived from
33000 * 33001 / 2
which is also <= 10^9, so closing this suggestionCorrect, that was a typo. It should be fixed now. Thanks for the review.
Fixed.
I just fixed the code.
Worked fine for me, code issue?
Cool, thanks for spotting it, Tachyon :)
No, try now.
Deleted
I have fixed this issue and republished the Ruby translation.
after a refresh it worked as expected, thanks!
logged out and in, finally solved :) thanks folks!
Try resetting the kata a few times and reloading the page. If you started doing the kata before it was updated, you may still be working with an older, broken version.
I checked the output when trying to return wrong output, everything is correct for me.
I might be wrong, but the first test I fail is the following
It should work for random inputs too - Expected: '[21, 14, -386, 4, -10, -720, -398, -2, -40, -786, -190, -32, -33, 96, 50, 967, 133, 781, 411, 628, 924, 569, 861, 222, 565, 849, 697, 653, 75, 17, 9, 3, -1, -31, -73, -89, -441]', instead got: '[-786, -720, -398, -386, -190, -40, -32, -10, -2, 4, 14, 50, 96, 222, 628, 924, 967, 861, 849, 781, 697, 653, 569, 565, 411, 133, 75, 21, 17, 9, 3, -1, -31, -33, -73, -89, -441]'
it shouldn't be starting with 21 in the first place, for the simple fact that it's an odd number, or am I missing something?
Loading more items...