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.
I have checked.
Your code does not pass that test because it does not return
-1
.Here is the error message:
Just tried your solution on an online compiler:
It doesn't return -1 for that input.
If you are not sure there is an
issue
with the kata, post instead as aquestion
.The C# translation is working correctly, no kata
issue
.Your code fails this test:
4503599627370497
-1
This comment is hidden because it contains spoiler information about the solution
What you do not understand?