Submission #540545

# Submission time Handle Problem Language Result Execution time Memory
540545 2022-03-20T22:10:17 Z glome Po (COCI21_po) C++17
0 / 70
1 ms 724 KB
#include <bits/stdc++.h>

using namespace std;

int main() {
	ios::sync_with_stdio(false);
	cin.tie(0);
    int n;
    cin >> n;
    vector<int> y(n);
    cout << *max_element(y.begin(), y.end()) - *min_element(y.begin(), y.end()) + 1<< '\n';
	return 0;
}

# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 352 KB Output isn't correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Incorrect 0 ms 340 KB Output isn't correct
4 Incorrect 1 ms 468 KB Output isn't correct
5 Incorrect 1 ms 596 KB Output isn't correct
6 Incorrect 1 ms 724 KB Output isn't correct
7 Incorrect 1 ms 724 KB Output isn't correct