Language: C++

// Created by Rg
#include        "bits/stdc++.h"
using namespace std;
#define          f first
#define          endl '\n'
#define          sc second
#define          N (int)2e5+5
#define          pb push_back
#define          PI acos(-1.0)
#define          int long long 
#define          mod 1000000007
#define          ld long double
#define          vi vector<int>
#define          eb emplace_back
#define          vpii vector<pii>
#define          mii map<int,int>
#define          pii pair<int,int>
#define          pq priority_queue
#define          test(x) while(x--)
#define          hii cout << "hii" << endl
#define          si size()
#define          all(x) begin(x),end(x)
#define          allr(x) rbegin(x),rend(x)
#define          fo(i,a,n) for(int i=a;i<n;i++)
#define          rfo(i,n,a) for(int i=n;i>=a;i--)
#define          FAST ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define          time() cerr << "Time : " << (double)clock() / (double)CLOCKS_PER_SEC << "s\n"
inline void INP()
{
    #ifndef ONLINE_JUDGE
        freopen("input.txt","r",stdin);   
        freopen("output.txt","w",stdout);
    #endif 
}

const int inf = 0x3f3f3f3f;
const int INF = 0x3f3f3f3f3f3f3f3f;

int n,m,k,q,x,y;
string s;
vi adj[N];
int vis[N],par[N],a[N];

void go()
{
    cin >> s;
    if(s[2]==s[3]&& s[5]==s[4])
        cout << "YES "<<endl;
    else cout<<"NO"<<endl;
}

int32_t main()
{
    INP(); 
    FAST;     
    int t=1; 
    // cin>>t;
    test(t) go();
}
// Created by Rg
#include        "bits/stdc++.h"
using namespace std;
#define          f first
#define          endl '\n'
#define          sc second
#define          N (int)2e5+5
#define          pb push_back
#define          PI acos(-1.0)
#define          int long long 
#define          mod 1000000007
#define          ld long double
#define          vi vector<int>
#define          eb emplace_back
#define          vpii vector<pii>
#define          mii map<int,int>
#define          pii pair<int,int>
#define          pq priority_queue
#define          test(x) while(x--)
#define          hii cout << "hii" << endl
#define          si size()
#define          all(x) begin(x),end(x)
#define          allr(x) rbegin(x),rend(x)
#define          fo(i,a,n) for(int i=a;i<n;i++)
#define          rfo(i,n,a) for(int i=n;i>=a;i--)
#define          FAST ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define          time() cerr << "Time : " << (double)clock() / (double)CLOCKS_PER_SEC << "s\n"
// inline void INP()
// {
//     #ifndef ONLINE_JUDGE
//         freopen("input.txt","r",stdin);   
//         freopen("output.txt","w",stdout);
//     #endif 
// }

const int inf = 0x3f3f3f3f;
const int INF = 0x3f3f3f3f3f3f3f3f;

int n,m,k,q,x,y;
string s;
vi adj[N];
int vis[N],par[N],a[N];

void go()
{
    cin >> s;
    if(s[2]==s[3]&& s[5]==s[4])
        cout << "YES "<<endl;
    else cout<<"NO"<<endl;
}

int32_t main()
{
    // INP(); 
    FAST;     
    int t=1; 
    // cin>>t;
    test(t) go();
}


Compiler output:
a.cc:95:11: error: redefinition of 'const long long int inf'
   95 | const int inf = 0x3f3f3f3f;
      |           ^~~
a.cc:36:11: note: 'const long long int inf' previously defined here
   36 | const int inf = 0x3f3f3f3f;
      |           ^~~
a.cc:96:11: error: redefinition of 'const long long int INF'
   96 | const int INF = 0x3f3f3f3f3f3f3f3f;
      |           ^~~
a.cc:37:11: note: 'const long long int INF' previously defined here
   37 | const int INF = 0x3f3f3f3f3f3f3f3f;
      |           ^~~
a.cc:98:5: error: redefinition of 'long long int n'
   98 | int n,m,k,q,x,y;
      |     ^
a.cc:39:5: note: 'long long int n' previously declared here
   39 | int n,m,k,q,x,y;
      |     ^
a.cc:98:7: error: redefinition of 'long long int m'
   98 | int n,m,k,q,x,y;
      |       ^
a.cc:39:7: note: 'long long int m' previously declared here
   39 | int n,m,k,q,x,y;
      |       ^
a.cc:98:9: error: redefinition of 'long long int k'
   98 | int n,m,k,q,x,y;
      |         ^
a.cc:39:9: note: 'long long int k' previously declared here
   39 | int n,m,k,q,x,y;
      |         ^
a.cc:98:11: error: redefinition of 'long long int q'
   98 | int n,m,k,q,x,y;
      |           ^
a.cc:39:11: note: 'long long int q' previously declared here
   39 | int n,m,k,q,x,y;
      |           ^
a.cc:98:13: error: redefinition of 'long long int x'
   98 | int n,m,k,q,x,y;
      |             ^
a.cc:39:13: note: 'long long int x' previously declared here
   39 | int n,m,k,q,x,y;
      |             ^
a.cc:98:15: error: redefinition of 'long long int y'
   98 | int n,m,k,q,x,y;
      |               ^
a.cc:39:15: note: 'long long int y' previously declared here
   39 | int n,m,k,q,x,y;
      |               ^
a.cc:99:8: error: redefinition of 'std::string s'
   99 | string s;
      |        ^
a.cc:40:8: note: 'std::string s' previously declared here
   40 | string s;
      |        ^
a.cc:100:4: error: redefinition of 'std::vector<long long int> adj [200005]'
  100 | vi adj[N];
      |    ^~~
a.cc:41:4: note: 'std::vector<long long int> adj [200005]' previously declared here
   41 | vi adj[N];
      |    ^~~
a.cc:101:5: error: redefinition of 'long long int vis [200005]'
  101 | int vis[N],par[N],a[N];
      |     ^~~
a.cc:42:5: note: 'long long int vis [200005]' previously declared here
   42 | int vis[N],par[N],a[N];
      |     ^~~
a.cc:101:12: error: redefinition of 'long long int par [200005]'
  101 | int vis[N],par[N],a[N];
      |            ^~~
a.cc:42:12: note: 'long long int par [200005]' previously declared here
   42 | int vis[N],par[N],a[N];
      |            ^~~
a.cc:101:19: error: redefinition of 'long long int a [200005]'
  101 | int vis[N],par[N],a[N];
      |                   ^
a.cc:42:19: note: 'long long int a [200005]' previously declared here
   42 | int vis[N],par[N],a[N];
      |                   ^
a.cc:103:6: error: redefinition of 'void go()'
  103 | void go()
      |      ^~
a.cc:44:6: note: 'void go()' previously defined here
   44 | void go()
      |      ^~
a.cc:111:9: error: redefinition of 'int32_t main()'
  111 | int32_t main()
      |         ^~~~
a.cc:52:9: note: 'int32_t main()' previously defined here
   52 | int32_t main()
      |         ^~~~