문제 링크
Java 풀이
class Solution {
public long[] solution(int x, int n) {
long temp = 0;
long[] answer = new long[n];
for(int i = 0; i < n; i++){
answer[i] = temp = temp + x;
}
return answer;
}
}