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.
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.
Please see Docs, on
Math
MarkDown. Duh Innernet at large has even more documentation on that. It might be called Katex.no you're good reference solution was just wrong :P
Loading more items...