https://school.programmers.co.kr/learn/courses/30/lessons/68936 분할 정복 문제class Solution { static int[] answer = new int[2]; static int[][] arr; static void solve(int sr, int er, int sc, int ec) { int v = arr[sr][sc]; boolean end = true; if(sr == er) { answer[v]++; return; } for(int r=sr; r