LeetCode 363 Max Sum of Rectangle No Larger Than K (二分)
Givenanon-empty2Dmatrixmatrixandanintegerk,findthemaxsumofarectangleinthematrixsuchthatitssumisnolargerthank.Example:Givenmatrix=[[1,0,1],[0,-2,3]]k=2Theansweris2.Becausethesumofrectangle[[0,1],[-2,3]