Submission #540545

#TimeUsernameProblemLanguageResultExecution timeMemory
540545glomePo (COCI21_po)C++17
0 / 70
1 ms724 KiB
#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 timeMemoryGrader output
Fetching results...