Submission #999248

#TimeUsernameProblemLanguageResultExecution timeMemory
999248AliHasanliTarifa (COCI16_tarifa)C++17
50 / 50
1 ms604 KiB
#include<bits/stdc++.h> using namespace std; int main() { long long n,m; cin>>n>>m; n*=(m+1); for(long long i=0;i<m;i++){long long a;cin>>a;n-=a;} cout<<n; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...