답안 #595331

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
595331 2022-07-13T15:40:05 Z Trisanu_Das Tarifa (COCI16_tarifa) C++17
0 / 50
1 ms 304 KB
#include <bits/stdc++.h>
using namespace std;

int main(){
  int x, n; cin >> x >> n;
  int ans = 0, y;
  for(int i = 0; i < n; i++){cin >> y; ans += x - y;}
  cout << ans << '\n';
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 0 ms 304 KB Output isn't correct
2 Incorrect 1 ms 212 KB Output isn't correct
3 Incorrect 0 ms 212 KB Output isn't correct
4 Incorrect 1 ms 304 KB Output isn't correct
5 Incorrect 1 ms 304 KB Output isn't correct
6 Incorrect 1 ms 300 KB Output isn't correct
7 Incorrect 0 ms 212 KB Output isn't correct
8 Incorrect 1 ms 304 KB Output isn't correct
9 Incorrect 1 ms 212 KB Output isn't correct
10 Incorrect 0 ms 212 KB Output isn't correct