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.
if it works, it works.
can't complain.
Clearly clever, but isn't it costy as well?
Super clean and readable!
on behalf of everyone, thank you!
This comment is hidden because it contains spoiler information about the solution
Thanks for correcting the test cases. I was wondering what on earth happened with my calculations!
I had to view the solutions to understand part of this so I need to work on my calculus
I've taken the liberty to fix the open issues and suggestions. A JS translation was added in the process. Enjoy :)
done
done
The last two sample tests need to be changed :
n_vals = [[1, 0], [2, 3], [3, 18], [4, 60], [5, 150], [342, **420115062**], [56753, **386209565**]]
The description should use katex to increase readability:
=>
Let
$ f(n) = \int_0^n\,\lfloor x\rfloor\:x\:\lceil x\rceil\; dx$
This comment is hidden because it contains spoiler information about the solution
Link: https://docs.codewars.com/references/markdown/extensions#math-typesetting
f(n) = ∫₀ⁿ ⌊x⌋x⌈x⌉ dx
$ f(n)=\int_0^n \lfloor x \rfloor x \lceil x \rceil dx $
Example tests are still wrong.
Loading more items...