Ad
  • Default User Avatar

    I got the following output when submitting:


    Random tests
    Testing for base [5, 15, 15] and n 7
    It should work for random inputs too: -315 should equal -27795


    I don't think the test is working properly. The given inputs should produce -315, which is what my code also produced. What am I doing wrong here?