# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
713814 | Dulguun88 | Tarifa (COCI16_tarifa) | C++14 | 1 ms | 300 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>
using namespace std;
int main(){
int n,m,sum=0,l;
cin>>n>>m;
for(int i=0 ; i<m ; i++){
cin>>l;
sum+=l;
}
cout<<(m+1)*n-sum;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |