https://school.programmers.co.kr/learn/courses/30/lessons/120923
public int[] solution(int num, int total) {
int[] answer = new int[num];
int startNum = total / num - num / 2;
if (total % num > 0) {
startNum += 1;
}
for (int i = 0; i < num; i++) {
answer[i] = startNum++;
}
return answer;
}