Ad
  • Custom User Avatar

    The #1 solution for C++ does currently pass all the tests, though. So if your solution was the same, it should also pass all the tests. The only explanation is that your solution was actually different from the #1 solution.

  • Custom User Avatar

    well my C++ Code works as intended in Visual Studio but does not pass the tests on the website.
    I was shocked to see that my code is the same that the number 1 solution and yet is not valid regarding the tests.

  • Custom User Avatar

    No, the tests are fine.

  • Custom User Avatar

    I guess is something wrong with the test when your trying to attempt the solution with javascript.
    this is the log:
    Log
    14.358729437462937
    Underweight
    22.9739670999407
    Normal
    25.845712987433288
    Overweight
    31.589204762418465
    Obese
    Random tests
    24.166101066431267
    Normal

    and the results is specting a wrong value:
    expected 'Normal' to equal 'Overweight'