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.
There is an error here, when n=20 and k=20 the result should be 131282408400 but in the test case it says 282407483 (Python)
I have the same problem, could you solve it or is it an error of the test case?
How do I increase precision more in Rust?
My result: 1.999999888469773
Expected: 1.9999999986
I agree, it is ambiguous to write the exponent at the end. Since it is not known if the exponent applies to the argument or the function (In this case sine function). Therefore, if one wants to refer to the function, it is normal to place: sin^3(x) but one can also accept (sin(x))^3 which is less readable but does not violate any mathematical law
No entiendo ¿porqué en los test me dice que tiene que devolver 0? Él único caso que se deberia devolver 0 es para n=0 pero en dos test me indican que deberia devolver 0 ¿Para que casos seria eso? Ninguna suma de dos numeros naturales da 0. Debe haber un error.