Run id: 107360
Main.cc: In function 'std::__cxx11::string compress(std::__cxx11::string)':
Main.cc:9:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < str.length(); ++i) {
^
Main.cc:13:43: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
result += "(" + currentChar + "," + to_string(count) + ")";
^
Main.cc:19:35: error: invalid operands of types 'const char*' and 'const char [2]' to binary 'operator+'
result += "(" + currentChar + "," + to_string(count) + ")";
^