목차문제 설명연속된 세 개의 정수를 더해 12가 되는 경우는 3, 4, 5입니다. 두 정수 num과 total이 주어집니다. 연속된 수 num개를 더한 값이 total이 될 때, 정수 배열을 오름차순으로 담아 return하도록 solution함수를 완성해보세요.제한사항1 ≤ num ≤ 1000 ≤ total ≤ 1000num개의 연속된 수를 더하여 total이 될 수 없는 테스트 케이스는 없습니다. numtotalresult312[3, 4, 5]515[1, 2, 3, 4, 5]414[2, 3, 4, 5]55[-1, 0, 1, 2, 3]class Solution { public int[] solution(int num, int total) { int[] result = new int[n..