Problem | gap |
---|---|
User | YeoBL20 |
Submission Time | 2023-01-02 22:27:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gap.cpp: In function ‘long long int findGap(int, int)’:
gap.cpp:19:36: error: ‘max’ was not declared in this scope
19 | for (int i = 1; i < N; i++) ans = max(ans, a[i] - a[i - 1]);
| ^~~