728x90
반응형
단순 수학 문제이다.
N = int(input())
li = list(map(int, input().split()))
res = [li[0]]
for i in range(1, N):
res.append(li[i]*(i+1) - sum(res))
print(*res)
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 10406번 The fellowship of the ring(python) (0) | 2021.02.19 |
---|---|
백준 알고리즘 10409번 서버(python) (0) | 2021.02.19 |
백준 알고리즘 10480번 Oddities(python) (0) | 2021.02.19 |
백준 알고리즘 10474번 분수좋아해?(python) (0) | 2021.02.19 |
백준 알고리즘 8713번 Znak działania(python) (0) | 2021.02.19 |