Submission #713814

#TimeUsernameProblemLanguageResultExecution timeMemory
713814Dulguun88Tarifa (COCI16_tarifa)C++14
50 / 50
1 ms300 KiB
#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 timeMemoryGrader output
Fetching results...