| Problem | minimum |
|---|---|
| User | newplayer |
| Submission Time | 2024-02-07 18:22:26 |
| 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:2: error: ‘lowest’ was not declared in this scope
6 | lowest = A[0];
| ^~~~~~
minimum.cpp:7:16: error: ‘begin’ was not declared in this scope
7 | for (int i:A) {
| ^
minimum.cpp:1:1: note: ‘std::begin’ is defined in header ‘<iterator>’; did you forget to ‘#include <iterator>’?
+++ |+#include <iterator>
1 |
minimum.cpp:7:16: error: ‘end’ was not declared in this scope
7 | for (int i:A) {
| ^
minimum.cpp:7:16: note: ‘std::end’ is defined in header ‘<iterator>’; did you forget to ‘#include <iterator>’?
minimum.cpp:11:3: error: ‘cout’ was not declared in this scope
11 | cout<<lowest;
| ^~~~
minimum.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>