Problem minimum
User iwawiwi
Submission Time 2024-03-09 14:15:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:12: error: ‘INT_MAX’ was not declared in this scope
5 | int min = 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;