# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
16361 | eaststar | Prosjek (COCI14_prosjek) | C++14 | 0 ms | 1084 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 <stdio.h>
int main(){
int i,n;
long long a=0,b;
scanf("%d",&n);
for(i=1;i<=n;++i){
scanf("%lld",&b);
printf("%lld ",b*i-a*(i-1));
a=b;
}
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |