给定一个包含 0 和 1 的二维网格地图,其中 1 表示陆地 0 表示水域。
执行用时 : 112 ms, 在Island Perimeter的C++提交中击败了82.22% 的用户 内存消耗 : 16 MB, 在Island Perimeter的C++提交中击败了91.01% 的用户