Main.cc: In function ‘int main()’: Main.cc:6:9: error: conflicting declaration ‘std::__cxx11::string s’ string s; ^ Main.cc:4:8: note: previous declaration as ‘int s’ int h,s; ^ Main.cc:8:18: error: request for member ‘size’ in ‘s’, which is of non-class type ‘int’ for(int i=0;i0){ ^ Main.cc:12:14: error: invalid types ‘int[int]’ for array subscript else if(s[i]=='d' && s