摘要:
1 const int dx[] = {1,-1,0,0}; 2 const int dy[] = {0,0,1,-1}; 3 #define _for(i,a,b) for(int i = (a);i >& grid, int r0, int c0, int color,int lo) 9 { 10 vis[r0][c0] = 1; 11 ... 阅读全文
摘要:
1 class Solution 2 { 3 public: 4 vector numMovesStones(int a, int b, int c) 5 { 6 vector rnt(2,0); 7 vector v; 8 v.push_back(a); 9 ... 阅读全文