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.
ehhh its not finished, but originally it was because slower solutions at n^3 could pass, and because math.random was being used, also plan on updating test suite, but performance is not a requirement for now
What's the goal of this fork? Is it an answer to some specific issue?
Generated inputs seem to be too large. Please double check, because it seems to me that random inputs result in huge values, and the reference solution is affected by overflow.
Just curious, what does output handler have to do with any kind of randomness?
What's your problem man
Thanks a lot for your help !
There are translators who do this but I personally think it's redundant, and IMO there's no need to add
extern
to function declarations.done. Should I also add extern in front of factorial_division in test cases and sample test cases ?
Its hard to see on a phone but if i remember correctly, yes.
Helper functions are "tester", "mySol" and "generate_n_d" ?
static
malloc(sizeof(long long))
is unnecessary, it can be simplified to:It should be rather OK to approve if the feedback from solvers is clear. Satisfaction votes ar unanimous at 100% which is great, but rank votes seem to be not that uniform.
Solutions are not revalidated automatically when language version changes, because it would be too much work for servers. It can be revalidated manually, or when the code of the Python version of the kata changes.
It's not a kata issue, but a problem with your code. See this paragraph.
Yes.
toSorted
was added in some newer version of Node, and unfortunately is not available on Codewars.Loading more items...