Problem | minimum |
---|---|
User | polyda |
Submission Time | 2024-05-15 15:36:07 |
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:9: 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:4:7: error: ‘min’ was not declared in this scope
4 | m=min(m,a[i]);
| ^~~