0_0_36058455_21469.cpp: In function 'int getMin(const char*, int)':
0_0_36058455_21469.cpp:22:18: error: request for member 'length' in 's', which is of non-class type 'const char*'
while (i < s.length() && j < s.length()) {
^
0_0_36058455_21469.cpp:22:36: error: request for member 'length' in 's', which is of non-class type 'const char*'
while (i < s.length() && j < s.length()) {
^
0_0_36058455_21469.cpp:29:26: error: request for member 'length' in 's', which is of non-class type 'const char*'
while (k < s.length() &&
^
0_0_36058455_21469.cpp:30:34: error: request for member 'length' in 's', which is of non-class type 'const char*'
s[(i + k) % s.length()] == s[(j + k) % s.length()])
^
0_0_36058455_21469.cpp:30:61: error: request for member 'length' in 's', which is of non-class type 'const char*'
s[(i + k) % s.length()] == s[(j + k) % s.length()])
^
0_0_36058455_21469.cpp:32:24: error: request for member 'length' in 's', which is of non-class type 'const char*'
if (k >= s.length())
^
0_0_36058455_21469.cpp:34:31: error: request for member 'length' in 's', which is of non-class type 'const char*'
if (s[(i + k) % s.length()] > s[(j + k) % s.length()])
^
0_0_36058455_21469.cpp:34:57: error: request for member 'length' in 's', which is of non-class type 'const char*'
if (s[(i + k) % s.length()] > s[(j + k) % s.length()])
^
|