답안 #511159

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
511159 2022-01-15T09:40:28 Z Mulhamadlah Tetris (COCI17_tetris) C++17
0 / 80
1 ms 304 KB
#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
ll x,n,a[1000009];
int main()
{
    cin>>x>>n;ll sum=0;
    for(ll i=0; i<n;i++)
    {
        cin>>a[i];
        sum+=x;
        sum-=a[i];
    }
    cout<<sum+x;
    
    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 300 KB Output isn't correct
2 Incorrect 0 ms 204 KB Output isn't correct
3 Incorrect 1 ms 304 KB Output isn't correct
4 Incorrect 0 ms 204 KB Output isn't correct
5 Incorrect 0 ms 204 KB Output isn't correct
6 Incorrect 0 ms 204 KB Output isn't correct
7 Incorrect 0 ms 204 KB Output isn't correct
8 Incorrect 0 ms 204 KB Output isn't correct
9 Incorrect 0 ms 204 KB Output isn't correct
10 Incorrect 1 ms 204 KB Output isn't correct