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.
In this case, however, each row corresponds to its input, i.e. if the first input values are
divisor = 2, bound = 7
, then the first row of result table must have 6 as ares
value.Sorting a table with just
res
values may validate incorrect solutions sometimes, because despite having different answers for each row, it can actually be sorted as well as the expected table so that they're equal.The solution is to add
divisor
andbound
to the result table, BUT it will invalidate 2K+ solutions which work only with the one column...