N=int(input())
B=list(map(int,input().split()))
Z=0
for i in range(N):
print(B[i]*(i+1)-Z,end=" ")
Z=B[i]*(i+1)
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
29 ms |
3660 KB |
Output is correct |
2 |
Correct |
25 ms |
3300 KB |
Output is correct |
3 |
Correct |
25 ms |
3300 KB |
Output is correct |
4 |
Correct |
26 ms |
3272 KB |
Output is correct |
5 |
Correct |
27 ms |
3300 KB |
Output is correct |
6 |
Correct |
44 ms |
3300 KB |
Output is correct |
7 |
Correct |
24 ms |
3332 KB |
Output is correct |
8 |
Correct |
25 ms |
3300 KB |
Output is correct |
9 |
Correct |
26 ms |
3300 KB |
Output is correct |
10 |
Correct |
26 ms |
3300 KB |
Output is correct |