Submission #199808

# Submission time Handle Problem Language Result Execution time Memory
199808 2020-02-03T13:21:16 Z Gamma Pismo (COCI18_pismo) C++14
0 / 70
63 ms 376 KB
#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, n - m);
        
        m = n;
    }
    printf("%d\n", mn);
}
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 256 KB Output isn't correct
2 Incorrect 5 ms 256 KB Output isn't correct
3 Incorrect 6 ms 376 KB Output isn't correct
4 Incorrect 6 ms 376 KB Output isn't correct
5 Incorrect 59 ms 256 KB Output isn't correct
6 Incorrect 63 ms 256 KB Output isn't correct
7 Incorrect 59 ms 376 KB Output isn't correct