Submission #199809

#TimeUsernameProblemLanguageResultExecution timeMemory
199809GammaPismo (COCI18_pismo)C++14
70 / 70
63 ms376 KiB
#include <bits/stdc++.h> using namespace std; int N, n, mn = 2000000009, m; int main() { cin >> N; for(int i = 0; i < N; i++) { cin >> n; if(i) mn = min(mn, abs(n - m)); m = n; } printf("%d\n", mn); }
#Verdict Execution timeMemoryGrader output
Fetching results...