| Problem | minimum |
|---|---|
| User | Xrh999 |
| Submission Time | 2025-12-17 16:53:30 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:15: error: ‘INT_MAX’ was not declared in this scope
5 | int low = INT_MAX;
| ^~~~~~~
minimum.cpp:2:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
1 | #include "minimum.h"
+++ |+#include <climits>
2 | using namespace std;
minimum.cpp:6:39: error: ‘min’ was not declared in this scope
6 | for (int i = 0; i < N; ++i) low = min(low, A[i]);
| ^~~