Language: C++

clude<bits/stdc++.h>
using namespace std;
#define ll long long
#define pi acos(-1)
int main(){
    string s,tems,s1,tems1,s2,tems2;
    cin>>s;
    ll d=s.size(),d1,d2,i;
 
    ll r=d-1,q=0;
    for(i=0;i<=d-1;i++){
        if(s[i]!=s[r]){
        q=1;
        break;
            }
        if(i==r)break;
 
            r-=1;
    }
 
 
 
    d1=(d-1)/2,d2=(d+3)/2;
 
    for( i=0;i<d1;i++){
        s1[i]=s[i];
    }
    for( i=d2-1;i<d;i++){
          s2[i]=s[i];
    }
    ll t=d1-1,k=0;
    for(i=0;i<=d1-1;i++){
        if(s1[i]!=s1[t]){
        k=1;
            }
        if(i==t)break;
            t-=1;
        }
    ll T=d-1,p=0;
    for(i=d2-1;i<=d-1;i++){
        if(s2[i]!=s2[T]){
        p=1;
            }
        if(i==T)break;
            T-=1;
        }
    if(q==0&&k==0&&p==0)cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
 
return 0;
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude<bits/stdc++.h>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'string' was not declared in this scope
    6 |     string s,tems,s1,tems1,s2,tems2;
      |     ^~~~~~
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>s;
      |     ^~~
a.cc:7:10: error: 's' was not declared in this scope
    7 |     cin>>s;
      |          ^
a.cc:11:9: error: 'i' was not declared in this scope
   11 |     for(i=0;i<=d-1;i++){
      |         ^
a.cc:23:5: error: 'd1' was not declared in this scope; did you mean 'd'?
   23 |     d1=(d-1)/2,d2=(d+3)/2;
      |     ^~
      |     d
a.cc:23:16: error: 'd2' was not declared in this scope; did you mean 'd'?
   23 |     d1=(d-1)/2,d2=(d+3)/2;
      |                ^~
      |                d
a.cc:25:10: error: 'i' was not declared in this scope
   25 |     for( i=0;i<d1;i++){
      |          ^
a.cc:26:9: error: 's1' was not declared in this scope
   26 |         s1[i]=s[i];
      |         ^~
a.cc:28:10: error: 'i' was not declared in this scope
   28 |     for( i=d2-1;i<d;i++){
      |          ^
a.cc:29:11: error: 's2' was not declared in this scope
   29 |           s2[i]=s[i];
      |           ^~
a.cc:32:9: error: 'i' was not declared in this scope
   32 |     for(i=0;i<=d1-1;i++){
      |         ^
a.cc:33:12: error: 's1' was not declared in this scope
   33 |         if(s1[i]!=s1[t]){
      |            ^~
a.cc:34:9: error: 'k' was not declared in this scope
   34 |         k=1;
      |         ^
a.cc:40:9: error: 'i' was not declared in this scope
   40 |     for(i=d2-1;i<=d-1;i++){
      |         ^
a.cc:41:12: error: 's2' was not declared in this scope
   41 |         if(s2[i]!=s2[T]){
      |            ^~
a.cc:47:14: error: 'k' was not declared in this scope
   47 |     if(q==0&&k==0&&p==0)cout<<"Yes"<<endl;
      |              ^
a.cc:47:25: error: 'cout' was not declared in this scope
   47 |     if(q==0&&k==0&&p==0)cout<<"Yes"<<endl;
      |                         ^~~~
a.cc:47:38: error: 'endl' was not declared in this scope
   47 |     if(q==0&&k==0&&p==0)cout<<"Yes"<<endl;
      |                                      ^~~~
a.cc:48:10: error: 'cout' was not declared in this scope
   48 |     else cout<<"No"<<endl;
      |          ^~~~
a.cc:48:22: error: 'endl' was not declared in this scope
   48 |     else cout<<"No"<<endl;
      |                      ^~~~