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.
Random test generator updated.
Probability of valid values: 79-80%
In my case, using '/' instead of '//' passed the random tests.
Nope.
You stop before empty spaces if you approach them vertically (like in your case) and you skip them if you approach them horizontally.
Ah, I see.
Whoever ported it to Python added random values to the test cases, which I suspect go a little too high potenmtially. If I can reign it in, I will.
You shouldn't have any accuracy problems. The largest triangular number asked for is 10000, which is well within the range of an int.
Are you taking care of negative values?