运行 ID: 76927

Main.cc: In function ‘int main()’:
Main.cc:7:23: 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=strlen(s)-1;i>=0;i--){
                       ^