Ad
  • Default User Avatar

    There are no errors in the tests. You have to solve kind of equation, not inequation.

  • Default User Avatar

    In Java, my code passes all the basic tests but it fails on some random tests. For instance I'm wondering how checkchoose(716, 13) = -1 if C(13, 5) = 1287 is greater than 716? Shouldn't it be the case that checkchoose(716, 13) = 5? It could be that I'm missing something quite subtle. Additionally I'm uncertain as to how checkchoose(286097761, 34) = -1 if C(34, 12) = 548354040 is greater than 286097761?