Submission #170321

#TimeUsernameProblemLanguageResultExecution timeMemory
170321ngmhTarifa (COCI16_tarifa)C++11
50 / 50
2 ms552 KiB
#include <bits/stdc++.h> using namespace std; int n, x, t, a; int main(){ cin >> x >> n; a = (n+1)*x; for(int i = 0; i < n; i++){ cin >> t; a -= t; } cout << a; }
#Verdict Execution timeMemoryGrader output
Fetching results...