Problem | minimum |
---|---|
User | Fibohyan |
Submission Time | 2023-12-03 22:59:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:14: error: ‘LLONG_MAX’ was not declared in this scope
6 | int i, j=LLONG_MAX;
| ^~~~~~~~~
minimum.cpp:3:1: note: ‘LLONG_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
2 | #include "minimum.h"
+++ |+#include <climits>
3 | using namespace std;
minimum.cpp:8:15: error: ‘min’ was not declared in this scope
8 | int j=min(j,A[i]);
| ^~~
minimum.cpp:10:12: error: ‘minimum’ was not declared in this scope
10 | return minimum;
| ^~~~~~~