/in/foo.cc:11:21: error: expected type-specifier before '{' token
long long *operator {
^
/in/foo.cc:13:1: error: expected ';' at end of member declaration
}
^
/in/foo.cc: In function 'void Build(int, int, int)':
/in/foo.cc:47:18: error: no match for 'operator[]' (operand types are 'Array' and 'int')
Build(rt[x],1,M,a[l]);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:108:16: error: no match for 'operator[]' (operand types are 'Array' and 'int')
scanf("%lld",&b[i][j]);
^
/in/foo.cc:111:2: error: no match for 'operator[]' (operand types are 'Array' and 'int')
a[i][j]=b[i][j];
^
/in/foo.cc:111:10: error: no match for 'operator[]' (operand types are 'Array' and 'int')
a[i][j]=b[i][j];
^
/in/foo.cc:112:9: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(i<x)a[i][j]-=b[i+1][j];
^
/in/foo.cc:112:18: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(i<x)a[i][j]-=b[i+1][j];
^
/in/foo.cc:113:9: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(i>x)a[i][j]-=b[i-1][j];
^
/in/foo.cc:113:18: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(i>x)a[i][j]-=b[i-1][j];
^
/in/foo.cc:114:9: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(j<y)a[i][j]-=b[i][j+1];
^
/in/foo.cc:114:18: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(j<y)a[i][j]-=b[i][j+1];
^
/in/foo.cc:115:9: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(j>y)a[i][j]-=b[i][j-1];
^
/in/foo.cc:115:18: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(j>y)a[i][j]-=b[i][j-1];
^
/in/foo.cc:116:16: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(i!=x&&j!=y)a[i][j]+=b[i+(i<x?1:-1)][j+(j<y?1:-1)];
^
/in/foo.cc:116:25: error: no match for 'operator[]' (operand types are 'Array' and 'int')
if(i!=x&&j!=y)a[i][j]+=b[i+(i<x?1:-1)][j+(j<y?1:-1)];
^