[LeetCode] 304. Range Sum Query 2D - Immutable Problem Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (ro us0 2019-06-29 00:47:44
用Python制作好玩的游戏 1.用Python破解九宫格 九宫格最早叫「洛书」,现在也叫「幻方」。最后对这个3*3的矩阵,只要判断行、列、对角线和斜对角线都是15就可以了。代码思路: 1.用input提示用户输入一个数字,然后随机产生一个1-20的整数。 dangyang 2019-09-08 08:46:24