public int solution(int[] numbers) { int temp = 0; for (int i : numbers) { temp += i; } return 45 - temp; }
출처:https://school.programmers.co.kr/learn/courses/30/lessons/86051