Problem minimum
User cobnet
Submission Time 2024-02-19 16:05:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:17: error: ‘INT_MAX’ was not declared in this scope
5 | int rapeseed = INT_MAX;
| ^~~~~~~
minimum.cpp:3:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <algorithm>
+++ |+#include <climits>
3 | using namespace std;