Language: C++

#include<iostream>  
#include<cstdio>  
#include<cstdlib>  
#include<cstring>  
#include<string.h>  
#include<vector>  
#include<algorithm>  
#define ll __int64  
#define maxn 210000  
using namespace std;  
vector<ll>q[2];  
ll x[maxn],y[maxn];  
ll bit[100];  
int n;  
ll solve() 
{  
    ll ans=0;  
    for(ll i=0;i<62;i++)  
    {  
        ll tot=0;  
        q[0].clear();q[1].clear();  
        for(ll j=1;j<=n;j++)  
            q[(x[j]>>i)&1].push_back(x[j]);  
        for(ll j=0;j<q[0].size();j++)  
            x[++tot]=q[0][j];  
        for(ll j=0;j<q[1].size();j++)  
            x[++tot]=q[1][j];  
        tot=0;  
        q[0].clear();q[1].clear();  
        for(ll j=1;j<=n;j++)  
            q[(y[j]>>i)&1].push_back(y[j]);  
        for(ll j=0;j<q[0].size();j++)  
            y[++tot]=q[0][j];  
        for(ll j=0;j<q[1].size();j++)  
            y[++tot]=q[1][j];  
        ll len1=1,len2=1,len3=1;  
        ll limit1=1ll<<i;  
        ll limit2=1ll<<(i+1);  
        ll all=(1ll<<(i+1))-1;
        ll sum=0;  
        for(ll i=n;i>=1;i--)  
        {  
            while((((x[i]&all)+(y[len1]&all))<limit1) && (len1<=n)) len1++;  
            while((((x[i]&all)+(y[len2]&all))<limit2) && (len2<=n)) len2++;  
            while(((x[i]&all)+(y[len3]&all)<limit1+limit2) && (len3<=n)) len3++;
            sum+=n-(len1-1-len2+1+len3-1);  
        }    
        if(sum&1) ans+=bit[i];  
    }  
    return ans;  
}  
  
int main()  
{    
    int cas;  
    cas=1; 
    bit[0]=1;  
    for(ll i=1;i<=61;i++)  
    bit[i]=bit[i-1]*2;  
    for(ll ca=1;ca<=cas;ca++)  
    {  
        scanf("%lld",&n);  
        for(ll i=1;i<=n;i++)  
            scanf("%lld",&x[i]);  
        for(ll i=1;i<=n;i++)  
            scanf("%Illd",&y[i]); 
       printf("%lld\n",solve()) ;  
    }  
}  
///// 

Compiler output:
a.cc:8:12: error: '__int64' was not declared in this scope; did you mean '__int64_t'?
    8 | #define ll __int64
      |            ^~~~~~~
a.cc:11:8: note: in expansion of macro 'll'
   11 | vector<ll>q[2];
      |        ^~
a.cc:11:10: error: template argument 1 is invalid
   11 | vector<ll>q[2];
      |          ^
a.cc:11:10: error: template argument 2 is invalid
a.cc:8:12: error: '__int64' does not name a type; did you mean '__int64_t'?
    8 | #define ll __int64
      |            ^~~~~~~
a.cc:12:1: note: in expansion of macro 'll'
   12 | ll x[maxn],y[maxn];
      | ^~
a.cc:8:12: error: '__int64' does not name a type; did you mean '__int64_t'?
    8 | #define ll __int64
      |            ^~~~~~~
a.cc:13:1: note: in expansion of macro 'll'
   13 | ll bit[100];
      | ^~
a.cc:8:12: error: '__int64' does not name a type; did you mean '__int64_t'?
    8 | #define ll __int64
      |            ^~~~~~~
a.cc:15:1: note: in expansion of macro 'll'
   15 | ll solve()
      | ^~
a.cc: In function 'int main()':
a.cc:57:5: error: 'bit' was not declared in this scope
   57 |     bit[0]=1;
      |     ^~~
a.cc:8:12: error: '__int64' was not declared in this scope; did you mean '__int64_t'?
    8 | #define ll __int64
      |            ^~~~~~~
a.cc:58:9: note: in expansion of macro 'll'
   58 |     for(ll i=1;i<=61;i++)
      |         ^~
a.cc:58:16: error: 'i' was not declared in this scope
   58 |     for(ll i=1;i<=61;i++)
      |                ^
a.cc:8:12: error: '__int64' was not declared in this scope; did you mean '__int64_t'?
    8 | #define ll __int64
      |            ^~~~~~~
a.cc:60:9: note: in expansion of macro 'll'
   60 |     for(ll ca=1;ca<=cas;ca++)
      |         ^~
a.cc:60:17: error: 'ca' was not declared in this scope; did you mean 'cas'?
   60 |     for(ll ca=1;ca<=cas;ca++)
      |                 ^~
      |                 cas
a.cc:63:16: error: expected ';' before 'i'
   63 |         for(ll i=1;i<=n;i++)
      |                ^
a.cc:63:20: error: 'i' was not declared in this scope
   63 |         for(ll i=1;i<=n;i++)
      |                    ^
a.cc:64:27: error: 'x' was not declared in this scope
   64 |             scanf("%lld",&x[i]);
      |                           ^
a.cc:65:16: error: expected ';' before 'i'
   65 |         for(ll i=1;i<=n;i++)
      |                ^
a.cc:65:20: error: 'i' was not declared in this scope
   65 |         for(ll i=1;i<=n;i++)
      |                    ^
a.cc:66:28: error: 'y' was not declared in this scope
   66 |             scanf("%Illd",&y[i]);
      |                            ^
a.cc:67:24: error: 'solve' was not declared in this scope
   67 |        printf("%lld\n",solve()) ;
      |                        ^~~~~