Ad
  • Custom User Avatar

    You are right. I didnt notice.
    But this is just one of many examples.

  • Custom User Avatar

    This is a very simple kata where i just make a string to be uppercase.

    std::string makeUpperCase (const std::string& input_str)
    {

    std::transform (input_str.begin(), input_str.end(), std::toupper);

    return input_str;
    }

    or

    for (int i = 0; i < str.length(); i++)
    {
    str[i] = std::toupper(str[i]);
    }

    They both dont work
    Obviously, there is always a reason for these errors to be there. Its just that they work in my IDE and this is such simple code. Very annoying.

  • Custom User Avatar

    There are so many katas that i can perfectly solve in my IDE, but not on codewars. I have to skip many simple katas because of errors im getting, even though the logic and code is appereantly fine, since i can execute them on my IDE perfectly. Its obnoxious to not be able to complete the kata when the implemented compiler is giving me an error for a single-line program.
    Is there anything i can do about that? Sorry for the dumb question