Ad
  • Custom User Avatar

    Hello,

    Anyone can help me here? I've tested several times on VSCODE and it works just fine. However, here I keep receiving the return:

    Caught std::exception, what(): basic_string::_M_create

  • Custom User Avatar

    Thanks Chrono79. I will be reading the md instruction and just figured the issue as you guided.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    My code is returning the correct output, however there that it has not passed the tests.
    OUTPUT message:
    "
    Expected: equal to 1 second
    Actual: 1 second

    Expected: equal to 182 days, 1 hour, 44 minutes and 40 seconds
    Actual: 182 days, 1 hour, 44 minutes and 40 seconds

    Expected: equal to 11 hours, 48 minutes and 42 seconds
    Actual: 11 hours, 48 minutes and 42 seconds
    "
    And I checked it on my IDE just in case of additional spaces, and it shows no additional spaces. What should I do?