Problem | minimum |
---|---|
User | NoynYT |
Submission Time | 2023-05-19 14: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:5:18: error: ‘n’ was not declared in this scope
5 | for (int i=0; i<n; i++){
| ^
minimum.cpp:10:2: error: ‘cout’ was not declared in this scope
10 | cout<<x;
| ^~~~
minimum.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;