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.
I think this has been done for JS and ruby in the past, you should make a translation for those.
It would be pointless if you allow the user to use
System.Linq
Where:https://www.codewars.com/kata/reviews/5fafab56e7269b0001519b79/groups/5fafadc6e7e46d00018a1e40
This is a terrible idea. The solution to the task is a very simple math formula which only needs to be slightly golfed to pass the original kata's tests, and any code submitted here is a potential spoiler for it.
The kata is already retired.
Improve the english explaination
More tests needed: negative numbers,
INT_MAX
,INT_MIN
.Comparing numbers is not new.
thanks. fixed
Fixed tests include only odd inputs, while random tests can generate even numbers as well.
RNG is not seeded.
it makes sense
fixed
Random is not seeded with
srand(time(NULL))
, so the random tests generate the same output each time.what does it mean?
all test cases are right
sorry, why?
yep. fixed
Loading more items...