Language: C++

#include<bits/stdc++.h>
#define V vector
#define L long
#define W V<L>
using namespace std;L E=70,M=2e17,i,a,b;W S(V<W>p){if(!E)return{1,0};list<V<W>>T(2);for(W x:p){T[x[1]&1].insert({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].insert({x[0]/2,++x[1]/2});}for(L i;i<2;i++){L c=0;for(W x:T[!i])c^=(2*x[0]+x[1])%3+1;if(!c){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>>i;V<W>p(i);while(i--,cin>>a>>b)p[i]={a+M,b+M};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:5:97: error: no match for 'operator[]' (operand types are 'std::__cxx11::list<std::vector<std::vector<long int> > >' and '__gnu_cxx::__alloc_traits<std::allocator<long int>, long int>::value_type' {aka 'long int'})
    5 | using namespace std;L E=70,M=2e17,i,a,b;W S(V<W>p){if(!E)return{1,0};list<V<W>>T(2);for(W x:p){T[x[1]&1].insert({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].insert({x[0]/2,++x[1]/2});}for(L i;i<2;i++){L c=0;for(W x:T[!i])c^=(2*x[0]+x[1])%3+1;if(!c){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>>i;V<W>p(i);while(i--,cin>>a>>b)p[i]={a+M,b+M};W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                 ^
a.cc:5:141: error: no match for 'operator[]' (operand types are 'std::__cxx11::list<std::vector<std::vector<long int> > >' and '__gnu_cxx::__alloc_traits<std::allocator<long int>, long int>::value_type' {aka 'long int'})
    5 | using namespace std;L E=70,M=2e17,i,a,b;W S(V<W>p){if(!E)return{1,0};list<V<W>>T(2);for(W x:p){T[x[1]&1].insert({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].insert({x[0]/2,++x[1]/2});}for(L i;i<2;i++){L c=0;for(W x:T[!i])c^=(2*x[0]+x[1])%3+1;if(!c){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>>i;V<W>p(i);while(i--,cin>>a>>b)p[i]={a+M,b+M};W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                             ^
a.cc:5:209: error: no match for 'operator[]' (operand types are 'std::__cxx11::list<std::vector<std::vector<long int> > >' and 'bool')
    5 | using namespace std;L E=70,M=2e17,i,a,b;W S(V<W>p){if(!E)return{1,0};list<V<W>>T(2);for(W x:p){T[x[1]&1].insert({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].insert({x[0]/2,++x[1]/2});}for(L i;i<2;i++){L c=0;for(W x:T[!i])c^=(2*x[0]+x[1])%3+1;if(!c){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>>i;V<W>p(i);while(i--,cin>>a>>b)p[i]={a+M,b+M};W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                 ^
a.cc:5:253: error: no match for 'operator[]' (operand types are 'std::__cxx11::list<std::vector<std::vector<long int> > >' and 'long int')
    5 | using namespace std;L E=70,M=2e17,i,a,b;W S(V<W>p){if(!E)return{1,0};list<V<W>>T(2);for(W x:p){T[x[1]&1].insert({x[0]/2,x[1]/2});if(x[0]&1)T[x[1]&1].insert({x[0]/2,++x[1]/2});}for(L i;i<2;i++){L c=0;for(W x:T[!i])c^=(2*x[0]+x[1])%3+1;if(!c){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>>i;V<W>p(i);while(i--,cin>>a>>b)p[i]={a+M,b+M};W x=S(p);cout<<x[0]-M<<" "<<x[1]-M;}
      |                                                                                                                                                                                                                                                             ^