摘要:
题目描述 Crusaders Quest is an interesting mobile game. A mysterious witch has brought great darkness to the game world, and the only hope for your kingdo 阅读全文
摘要:
题目描述 Farmer John has devised a brilliant method to paint the long fence next to his barn (think of the fence as a one-dimensional number line). He sim 阅读全文
摘要:
矩阵区域和 给你一个 m x n 的矩阵 mat 和一个整数 k ,请你返回一个矩阵 answer ,其中每个 answer[i][j] 是所有满足下述条件的元素 mat[r][c] 的和: i - k ⇐ r ⇐ i + k, j - k ⇐ c ⇐ j + k 且 (r, c) 在矩阵内。 示例 阅读全文