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 same issue. Don't know why. For x=8 and given m=11110584286373380831 and n=908 number of combinations according to the formula is comb_num=11110584286373380096.0. Which is not equal (comb_num != m). Same for other x in range(n+1). Getting x=-1 when it is said that right answer is x=8. Using Python.
Guess it's because of precision issues.
I have this problem. The ones that work are passing, but the ones that should be impossible are producing a string.
I've already forfeited and looked at the solutions as I was spending way too long on this, but I can't for the life of me figure out why what I
did doesn't work even though it's extremely similar to the solution listed first.
"find the smallest number you can get" 18786300289<18786302809
Because you need to follow the steps, first get the smallest i, and then the smallest j.
This is explained in the description, read it again.
In that other case, to get the smallest number you can get moving only one digit, your only choice is to move the 0 to the front.
testing(209917, [29917, 0, 1]); why 0, 1 here ( not 1, 0)
and
testing(269045, [26945, 3, 0]); 3, 0 here?
where logick
(11110584286373380831, 908)
9 should equal 8
result = 11110584286373380096 < 11110584286373380831 and how 8????
0 Logic stupid test. Test = Done all green Random = Fail 99% red wtf?
Who has a problem with "Unable to decode". Think logically why you are getting a response, but the response should be "Unable to decrypt". This is just for logic.
This comment is hidden because it contains spoiler information about the solution
/
The output should be int.