문제: https://leetcode.com/problems/matrix-block-sum/ Matrix Block Sum - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 2d vector에서 특정 구간의 합을 구하는 문제다. k값이 주어지고, 2d vector 안의 (y,x) 포인트에서 i - k = lenX ? lenX - 1 : j + k; mat[i][j] = pSums[moreI + 1][moreJ + 1] + pSums[lessI][lessJ] - ..