0_0_18653807_31723.cpp: In function 'int main()': 0_0_18653807_31723.cpp:11:4: error: cannot convert '__gnu_cxx::__normal_iterator<char*, std::basic_string<char> >' to 'char*' in assignment c=max_element(s.begin(),s.end()); ^