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.
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.
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.
No, the tests are fine.
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'