Problem | minimum |
---|---|
User | de3znut5 |
Submission Time | 2024-03-19 19:38:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:1:11: error: ‘size_t’ has not been declared
1 | template <size_t S>
| ^~~~~~
minimum.cpp:2:29: error: ‘S’ was not declared in this scope
2 | int findMin(int N, int (&A)[S]){
| ^
minimum.cpp: In function ‘int findMin(...)’:
minimum.cpp:3:13: error: ‘NULL’ was not declared in this scope
3 | int r = NULL;
| ^~~~
minimum.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | template <size_t S>
minimum.cpp:4:17: error: ‘A’ was not declared in this scope
4 | for (int i: A){
| ^