제출 #156397

#제출 시각아이디문제언어결과실행 시간메모리
156397dcjTarifa (COCI16_tarifa)C++14
50 / 50
2 ms380 KiB
#include <iostream> using namespace std; int main() { int X,N,P, uk=0; cin >> X; cin >>N; for (int i=0;i<N;i++) { cin >> P; uk=uk+X-P; } cout << uk+X; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...