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 see, got it!
I'm sorry too! You are right but it is not the question. No number x gives exactly
m=6540715897
forn=48
hence the answer-1
. Am I clear enough?-)Sorry, I was a little unclear.
What I meant is that there seems to be a range of
x
that would satifisfy the conditions.48 choose 11
produces2311801440
48 choose 37
gives22595200368
Every
x
between11
and37
should produce enough combinations.I think you don't have correctly understood the kata. The description says:
You have to solve an equation not an inequation.
37 choose 11
gives854992152
, not6540715897
I think you don't have correctly understood the kata. The description says:
You have to solve an equation not an inequation.
48 choose 11
gives22595200368
, not6540715897
and34 choose 4
gives46376
not5985
.BTW thanks for the links!
C#
When m=6540715897 and n=48 it expects -1, but the answer should be 11. Same problem in Random Tests, m=5985 and n=34 expects -1, but the answer is 4.
http://www.wolframalpha.com/input/?i=%2848+choose+11%29+%3E+6540715896
http://www.wolframalpha.com/input/?i=%2834+choose+4%29+%3E+5985