class SubrectangleQueries {
public:
SubrectangleQueries(vector<vector<int>>& rectangle) {
}
void updateSubrectangle(int row1, int col1, int row2, int col2, int newValue) {
}
int getValue(int row, int col) {
}
};
/**
* Your SubrectangleQueries object will be instantiated and called as such:
* SubrectangleQueries* obj = new SubrectangleQueries(rectangle);
* obj->updateSubrectangle(row1,col1,row2,col2,newValue);
* int param_2 = obj->getValue(row,col);
*/