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.
It is 8 kyu level
fixed by OP's fork
fixed by OP's fork
Approved
random tests are attackable.
python new test framework is required. updated in this fork
Why would the average of no numbers be
0
? Why not1234
or-8888
;-) ?I added a note in the description that promises the array will not be empty, and I removed the fixed test in Clojure that was testing for it.
this 'solution' is currently invalidated, so closing ;-)
not sure if it was there at the time, but currently
<stddef.h>
is#include
d in the initial codeThis is not enforced in:
JavaScript and TypeScript are merely checking the function's
toString()
, which is not torough enoughadded in C
@Shane-Xue the way to check that is by reading the user's source code at test time. Sadly the test cases are locked for this kata
The description states
so using either ceil or floor is not correct
Ruby 3.0 should be enabled.
In fact, python does not test against that either. However I am not sure if we actually have a way to test against looping in a function from outside the function?
Loading more items...