摘要: 1 int x[] = {1,-1,0,0}; 2 int y[] = {0,0,1,-1}; 3 4 class Solution 5 { 6 private: 7 int acreList[1500]; 8 int acreListEnd; 9 int Maxresult; 10 ... 阅读全文
posted @ 2018-10-11 12:11 Asurudo 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution 2 { 3 public: 4 bool isToeplitzMatrix(vector>& matrix) 5 { 6 bool result = true; 7 for(int i = matrix.size()-1;i >= 0;i --) 8 ... 阅读全文
posted @ 2018-10-11 10:34 Asurudo 阅读(174) 评论(0) 推荐(0) 编辑