Submission #710739

#TimeUsernameProblemLanguageResultExecution timeMemory
710739ElenaBMTarifa (COCI16_tarifa)C++17
50 / 50
1 ms304 KiB
#include <bits/stdc++.h> using namespace std; int main() { int x, n; cin>> x >> n; int tf = x; vector<int> s (n); for (int i = 0; i < n; ++i){ cin>> s[i]; tf += x- s[i]; } cout<< tf<< '\n'; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...