Problem | minimum |
---|---|
User | kiwiwi |
Submission Time | 2025-07-21 12:05:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:8:16: error: ‘INT_MIN’ was not declared in this scope
8 | int curr = INT_MIN;
| ^~~~~~~
minimum.cpp:5:1: note: ‘INT_MIN’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
4 | #include "minimum.h"
+++ |+#include <climits>
5 | using namespace std;
minimum.cpp:10:16: error: ‘min’ was not declared in this scope
10 | curr = min( curr, A[i] );
| ^~~