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.
HATE RETURN
fantastic
The C# reference solution returns different results compared to other languages.
Liked it but I feel the description unnecesssarily verbose and confusing.
Changing the return type to long is insufficient, but required. (unless you're really lucky with tests?)
You must also cast the long to int, as some random tests expect the overflow value.
The c# solution is currently not solvable without this realization.
Possible Java translation
@natan ~ your comment says 10 minutes ago, mine says 11 minutes ago, but yours is posted above mine...
¯\_(ツ)_/¯
probably printing. try silencing the print statement.
avoid printing millions of characters
Hello, I get a "Max Buffer Size Reached" error after test attempt 11m or something in Python. I am unsure how to proceed.
Any help ?
You solution is great. But I'm more prefer with how binary working in computer system.
There is an issue with your C# solution: It does not work for large input values (>= 2**62). The
amount
variable overflows for these input values.the same exact code used to pass the kata in C# times out when applied to Java
Approved
Java translation ඞඞඞඞ >>>>>>>>>>>>>>>>>>> https://www.codewars.com/kumite/67031c1f32402fbb869b0993?sel=67031c1f32402fbb869b0993
Loading more items...