문제 입출력 문제풀이 import java.util.*; class Solution { public int[] solution(int brown, int yellow) { int[] answer = new int[2]; // x*2+y*2=brown+4; // (x-2)*(y-2)=yello; // xy-2*x-2*y+4=yello; // xy=yello+brown; int k = yellow + brown; int j = 0; for(int i = 1 ; i