Problem | minimum |
---|---|
User | itsjeKa |
Submission Time | 2023-08-03 21:27:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:7:17: error: ‘min’ was not declared in this scope; did you mean ‘minim’?
7 | minim = min(minim, A[i]);
| ^~~
| minim
minimum.cpp:9:5: error: ‘cout’ was not declared in this scope
9 | cout << minim;
| ^~~~
minimum.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include "minimum.h"
+++ |+#include <iostream>
2 | using namespace std;