Submission #165371

#TimeUsernameProblemLanguageResultExecution timeMemory
165371itiamTarifa (COCI16_tarifa)C++11
50 / 50
2 ms384 KiB
#include <iostream> using namespace std; int main(){ int X,N,uk,A; cin >> X >> N; uk= X*N; for (int i=0; i<N; i++){ cin >> A; uk-=A; } uk+=X; cout << uk; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...