Submission #383308

#TimeUsernameProblemLanguageResultExecution timeMemory
383308IwanttobreakfreeProsjek (COCI14_prosjek)C++17
50 / 50
2 ms384 KiB
#include <iostream> #include <vector> using namespace std; int main(){ long long int n,m,sum=0; cin>>n; for(int i=1;i<=n;i++){ cin>>m; int x=m*i-sum; sum+=x; cout<<x<<' '; } }
#Verdict Execution timeMemoryGrader output
Fetching results...