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.
You are right. I didnt notice.
But this is just one of many examples.
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.
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