Submission #168758

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