Problem | minimum |
---|---|
User | 00cqx7 |
Submission Time | 2023-02-04 17:28:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:2:8: error: ‘INT_MAX’ was not declared in this scope
2 | int m=INT_MAX;
| ^~~~~~~
minimum.cpp:1:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
+++ |+#include <climits>
1 | int findMin(int N, int A[]){
minimum.cpp:5:7: error: ‘min’ was not declared in this scope
5 | m = min(A[i], m);
| ^~~