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