leetcode-200-島嶼數量

class Solution { public:     vector<vector<int>> move = {{0,1}, {1,0}, {0,-1}, {-1,0}}; //y,x右下左上     void markIslands(vector<vector<char>>& grid, int y, int x){         for (int i=0; i<4; i++){      
相關文章
相關標籤/搜索