Microsoft interview question

Area of consecutive sub matrix