# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
144272 |
2019-08-16T12:50:54 Z |
islingr |
Prosjek (COCI14_prosjek) |
Python 3 |
|
26 ms |
3428 KB |
n = int(input())
b = list(map(int, input().split()))
print(b[0], end=" ")
for i in range(1, n):
print((i + 1) * b[i] - i * b[i - 1], end = " ")
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
26 ms |
3428 KB |
Output is correct |
2 |
Correct |
26 ms |
3300 KB |
Output is correct |
3 |
Correct |
25 ms |
3300 KB |
Output is correct |
4 |
Correct |
24 ms |
3300 KB |
Output is correct |
5 |
Correct |
25 ms |
3300 KB |
Output is correct |
6 |
Correct |
26 ms |
3300 KB |
Output is correct |
7 |
Correct |
25 ms |
3304 KB |
Output is correct |
8 |
Correct |
25 ms |
3300 KB |
Output is correct |
9 |
Correct |
25 ms |
3300 KB |
Output is correct |
10 |
Correct |
26 ms |
3400 KB |
Output is correct |