Problem minimum
User elegantarmour
Submission Time 2024-06-08 14:56:19
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 <iostream>
+++ |+#include <climits>
2 | using namespace std;