Problem minimum
User susboy
Submission Time 2024-05-10 19:28:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:9:14: error: ‘LLONG_MAX’ was not declared in this scope
9 | int mn = LLONG_MAX;
| ^~~~~~~~~
minimum.cpp:3:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include <iostream>
+++ |+#include <climits>
3 | using namespace std;
minimum.cpp:12:23: error: ‘a’ was not declared in this scope
12 | mn = min(mn , a[i]);
| ^