Language: C++

#include　<string>
#include　<iostream> 


int main(){
  std::string s;
  std::cin>>s;
  int i=s.length();
  std::string s1=s.substr(0,(i-3)/2);
  std::string s2=s.substr((i+1)/2,i-1);
  int test=1;
  for (int j=0;j<(i-3)/2;j++){
      if(s1[j]==s1[-j+(i-3)/2] && s1[j]==s2[j] && s1[j]==s2[-j+(i-3)/2]){
          continue;
      }else{
          test=0;
          break;
      }
  }
  if(test==1){
      std::cout<<"Yes"<<std::endl;
  }else{
      std::cout<<"No"<<std::endl;
  }
  std::cout<<s1<<" "<<s2<<std::endl;
  return 0;
}

Compiler output:
a.cc:1:2: error: extended character 　 is not valid in an identifier
    1 | #include　<string>
      |  ^
a.cc:1:2: error: invalid preprocessing directive #include\U00003000
    1 | #include　<string>
      |  ^~~~~~~~~
a.cc:2:2: error: extended character 　 is not valid in an identifier
    2 | #include　<iostream>
      |  ^
a.cc:2:2: error: invalid preprocessing directive #include\U00003000
    2 | #include　<iostream>
      |  ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:8: error: 'string' is not a member of 'std'
    6 |   std::string s;
      |        ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #include　<string>
a.cc:7:8: error: 'cin' is not a member of 'std'
    7 |   std::cin>>s;
      |        ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #include　<string>
a.cc:7:13: error: 's' was not declared in this scope
    7 |   std::cin>>s;
      |             ^
a.cc:9:8: error: 'string' is not a member of 'std'
    9 |   std::string s1=s.substr(0,(i-3)/2);
      |        ^~~~~~
a.cc:9:8: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
a.cc:10:8: error: 'string' is not a member of 'std'
   10 |   std::string s2=s.substr((i+1)/2,i-1);
      |        ^~~~~~
a.cc:10:8: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
a.cc:13:10: error: 's1' was not declared in this scope
   13 |       if(s1[j]==s1[-j+(i-3)/2] && s1[j]==s2[j] && s1[j]==s2[-j+(i-3)/2]){
      |          ^~
a.cc:13:42: error: 's2' was not declared in this scope
   13 |       if(s1[j]==s1[-j+(i-3)/2] && s1[j]==s2[j] && s1[j]==s2[-j+(i-3)/2]){
      |                                          ^~
a.cc:21:12: error: 'cout' is not a member of 'std'
   21 |       std::cout<<"Yes"<<std::endl;
      |            ^~~~
a.cc:21:12: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:21:30: error: 'endl' is not a member of 'std'
   21 |       std::cout<<"Yes"<<std::endl;
      |                              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #include　<string>
a.cc:23:12: error: 'cout' is not a member of 'std'
   23 |       std::cout<<"No"<<std::endl;
      |            ^~~~
a.cc:23:12: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:23:29: error: 'endl' is not a member of 'std'
   23 |       std::cout<<"No"<<std::endl;
      |                             ^~~~
a.cc:23:29: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:25:8: error: 'cout' is not a member of 'std'
   25 |   std::cout<<s1<<" "<<s2<<std::endl;
      |        ^~~~
a.cc:25:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:25:14: error: 's1' was not declared in this scope
   25 |   std::cout<<s1<<" "<<s2<<std::endl;
      |              ^~
a.cc:25:23: error: 's2' was not declared in this scope
   25 |   std::cout<<s1<<" "<<s2<<std::endl;
      |                       ^~
a.cc:25:32: error: 'endl' is not a member of 'std'
   25 |   std::cout<<s1<<" "<<s2<<std::endl;
      |                                ^~~~
a.cc:25:32: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'