| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 497999 | gabrupro | Prosjek (COCI14_prosjek) | C++14 | 0 ms | 292 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.
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
	int n; cin >> n;
	ll arr[n];
	cin >> arr[0];
	for (int i = 1; i < n; i++) { 
		ll x; cin >> x;
		ll m = i + 1;
		arr[i] = x * m - arr[i - 1];
	}
	for (ll x : arr) { cout << x << " "; }
	return 0;
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
