| Problem | minimum |
|---|---|
| User | enterusername |
| Submission Time | 2026-08-20 13:37:02 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:3:12: error: ‘INT_MIN’ was not declared in this scope
3 | int ans = INT_MIN;
| ^~~~~~~
minimum.cpp:1:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
+++ |+#include <climits>
1 | int findMin(int N, int A[])
minimum.cpp:6:9: error: ‘max’ was not declared in this scope
6 | ans = max(ans, A[i]);
| ^~~