Problem | minimum |
---|---|
User | 583116UB |
Submission Time | 2024-04-27 11:42:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:18:10: error: ‘cout’ in namespace ‘std’ does not name a type
18 | std::cout << "The minimum value in the array is: " << minVal << std::endl;
| ^~~~
In file included from minimum.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
minimum.cpp:20:5: error: expected unqualified-id before ‘return’
20 | return 0;
| ^~~~~~
minimum.cpp:21:1: error: expected declaration before ‘}’ token
21 | }
| ^