A O ( 1 ) time function to compute sum of submatrix between ( tli , tlj ) and ( rbi , rbj ) using dp [ ] [ ] which is built by the preprocess function
int sumQuery ( vector < vector < int > > dp , int tli , int tlj , int rbi , int rbj ) {