# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1092797 | vibeslayer | Prosjek (COCI14_prosjek) | Cpython 3 | 12 ms | 2908 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
n = map(int, input().split())
a = list(map(int, input().split()))
ans = []
for x in a:
x = x * (len(ans)+1)
ans.append(x - sum(ans))
print(' '.join(map(str, ans)))
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |