Problem | minimum |
---|---|
User | JoshuaPyh |
Submission Time | 2023-08-11 18:40:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:21: error: ‘INT_MAX’ was not declared in this scope
6 | int min_value = INT_MAX; // Initialize the minimum value as maximum possible integer
| ^~~~~~~
minimum.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <vector>
+++ |+#include <climits>
3 | using namespace std;