Main.cc:16:14: warning: multi-character character constant [-Wmultichar] if(str[i]=='/0') minn=max(minn,i-last); ^~~~ Main.cc: In function ‘int main()’: Main.cc:9:26: error: cannot convert ‘std::__cxx11::string {aka std::__cxx11::basic_string}’ to ‘const char*’ for argument ‘1’ to ‘size_t strlen(const char*)’ for(int i=0;i}’ to ‘const char*’ for argument ‘1’ to ‘size_t strlen(const char*)’ else cout<