Problem | minimum |
---|---|
User | geometric2 |
Submission Time | 2023-11-04 22:21:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:4:13: error: ‘INT_MAX’ was not declared in this scope
4 | int ans = INT_MAX;
| ^~~~~~~
minimum.cpp:1:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
+++ |+#include <climits>
1 | // #include <bits/stdc++.h>
minimum.cpp:5:17: error: ‘begin’ was not declared in this scope
5 | for (auto i : a) {
| ^
minimum.cpp:5:17: error: ‘end’ was not declared in this scope