Language: C++

#include<bits/stdc++.h>
#define V vector
#define W V<long>
using namespace std;long E,M=2e17,a,b;W S(V<W>p){if(!E)return{1,0};V<V<W>>T(2);for(W x:p){T[x[1]&1].push_back({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].push_back({x[0]/2,++x[1]/2});}for(long i;i<2;i++){a=0;for(W x:T[!i])a^=(2*x[0]+x[1])%3+1;if(!a)E--,W A=S(T[i]),A[0]*=2,A[1]*=2,A[1]+=i;return A;}}for(W&v:p)v[0]++;W A=S(p);A[0]--;return A;}int main(){cin>>E;V<W>p(E);while(E--,cin>>a>>b)p[E]={a+M,b+M};E=70;W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}

Compiler output:
a.cc: In function 'std::vector<long int> S(std::vector<std::vector<long int> >)':
a.cc:4:249: error: expected primary-expression before 'A'
    4 | using namespace std;long E,M=2e17,a,b;W S(V<W>p){if(!E)return{1,0};V<V<W>>T(2);for(W x:p){T[x[1]&1].push_back({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].push_back({x[0]/2,++x[1]/2});}for(long i;i<2;i++){a=0;for(W x:T[!i])a^=(2*x[0]+x[1])%3+1;if(!a)E--,W A=S(T[i]),A[0]*=2,A[1]*=2,A[1]+=i;return A;}}for(W&v:p)v[0]++;W A=S(p);A[0]--;return A;}int main(){cin>>E;V<W>p(E);while(E--,cin>>a>>b)p[E]={a+M,b+M};E=70;W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                                                         ^
a.cc:4:290: error: 'A' was not declared in this scope
    4 | using namespace std;long E,M=2e17,a,b;W S(V<W>p){if(!E)return{1,0};V<V<W>>T(2);for(W x:p){T[x[1]&1].push_back({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].push_back({x[0]/2,++x[1]/2});}for(long i;i<2;i++){a=0;for(W x:T[!i])a^=(2*x[0]+x[1])%3+1;if(!a)E--,W A=S(T[i]),A[0]*=2,A[1]*=2,A[1]+=i;return A;}}for(W&v:p)v[0]++;W A=S(p);A[0]--;return A;}int main(){cin>>E;V<W>p(E);while(E--,cin>>a>>b)p[E]={a+M,b+M};E=70;W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                                                                                                  ^
a.cc: At global scope:
a.cc:4:294: error: expected unqualified-id before 'for'
    4 | using namespace std;long E,M=2e17,a,b;W S(V<W>p){if(!E)return{1,0};V<V<W>>T(2);for(W x:p){T[x[1]&1].push_back({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].push_back({x[0]/2,++x[1]/2});}for(long i;i<2;i++){a=0;for(W x:T[!i])a^=(2*x[0]+x[1])%3+1;if(!a)E--,W A=S(T[i]),A[0]*=2,A[1]*=2,A[1]+=i;return A;}}for(W&v:p)v[0]++;W A=S(p);A[0]--;return A;}int main(){cin>>E;V<W>p(E);while(E--,cin>>a>>b)p[E]={a+M,b+M};E=70;W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                                                                                                      ^~~
a.cc:4:317: error: 'p' was not declared in this scope
    4 | using namespace std;long E,M=2e17,a,b;W S(V<W>p){if(!E)return{1,0};V<V<W>>T(2);for(W x:p){T[x[1]&1].push_back({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].push_back({x[0]/2,++x[1]/2});}for(long i;i<2;i++){a=0;for(W x:T[!i])a^=(2*x[0]+x[1])%3+1;if(!a)E--,W A=S(T[i]),A[0]*=2,A[1]*=2,A[1]+=i;return A;}}for(W&v:p)v[0]++;W A=S(p);A[0]--;return A;}int main(){cin>>E;V<W>p(E);while(E--,cin>>a>>b)p[E]={a+M,b+M};E=70;W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                                                                                                                             ^
a.cc:4:320: error: 'A' does not name a type
    4 | using namespace std;long E,M=2e17,a,b;W S(V<W>p){if(!E)return{1,0};V<V<W>>T(2);for(W x:p){T[x[1]&1].push_back({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].push_back({x[0]/2,++x[1]/2});}for(long i;i<2;i++){a=0;for(W x:T[!i])a^=(2*x[0]+x[1])%3+1;if(!a)E--,W A=S(T[i]),A[0]*=2,A[1]*=2,A[1]+=i;return A;}}for(W&v:p)v[0]++;W A=S(p);A[0]--;return A;}int main(){cin>>E;V<W>p(E);while(E--,cin>>a>>b)p[E]={a+M,b+M};E=70;W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                                                                                                                                ^
a.cc:4:327: error: expected unqualified-id before 'return'
    4 | using namespace std;long E,M=2e17,a,b;W S(V<W>p){if(!E)return{1,0};V<V<W>>T(2);for(W x:p){T[x[1]&1].push_back({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].push_back({x[0]/2,++x[1]/2});}for(long i;i<2;i++){a=0;for(W x:T[!i])a^=(2*x[0]+x[1])%3+1;if(!a)E--,W A=S(T[i]),A[0]*=2,A[1]*=2,A[1]+=i;return A;}}for(W&v:p)v[0]++;W A=S(p);A[0]--;return A;}int main(){cin>>E;V<W>p(E);while(E--,cin>>a>>b)p[E]={a+M,b+M};E=70;W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                                                                                                                                       ^~~~~~
a.cc:4:336: error: expected declaration before '}' token
    4 | using namespace std;long E,M=2e17,a,b;W S(V<W>p){if(!E)return{1,0};V<V<W>>T(2);for(W x:p){T[x[1]&1].push_back({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].push_back({x[0]/2,++x[1]/2});}for(long i;i<2;i++){a=0;for(W x:T[!i])a^=(2*x[0]+x[1])%3+1;if(!a)E--,W A=S(T[i]),A[0]*=2,A[1]*=2,A[1]+=i;return A;}}for(W&v:p)v[0]++;W A=S(p);A[0]--;return A;}int main(){cin>>E;V<W>p(E);while(E--,cin>>a>>b)p[E]={a+M,b+M};E=70;W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                                                                                                                                                ^