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.
First, there is a typo in the desription. "All numbers in will be positive integers.". I guess the word "arr" is missing in there.
Second, the description create unnecessary confusion. At the beginning a range of numbers are compared to each other. But afterwards a list of number shall only be compared to one number (=n).
approved
C Translation (author inactive).
Also, examples show "17 17". It is not clear what this is intended to convey.
The input is
0 [-1]
. Actual and expected are not shown; this could be achieved by replacing==
by===
. Random tests do not actually guarantee "All numbers in will be positive integers", just that they are non-zero, but generated zeroes will be shown as input.Approved
Prolog translation
Enjoyable kata, keep it up.
imho it's 6 kyo
Fixed.
Fixed.
python new test framework is required. updated in this fork
This warning doesn't show anymore currently (using Python 3.11).
need random tests.
This comment is hidden because it contains spoiler information about the solution
Loading more items...