Iahub like background story hell tell exactly problem ask foryou give matrix n row n column initially value matrix zero both row column 1based row number 1 2 n column number 1 2 n Lets denote element ith row jth column aijwe submatrix x0y0x1y1 element aij inequality hold x0ix1 y0jy1Write program perform follow operation Queryx0 y0 x1 y1 print xor sum element submatrix x0y0x1y1 Updatex0 y0 x1 y1 v element submatrix x0y0x1y1 get xore value v