Problem | minimum |
---|---|
User | matt |
Submission Time | 2024-01-17 15:34:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:5:31: error: use of parameter outside function body before ‘]’ token
5 | int32_t findMin(int n, int x[n]){
| ^
minimum.cpp: In function ‘int32_t findMin(...)’:
minimum.cpp:7:22: error: ‘x’ was not declared in this scope
7 | cout<<*min_element(x,x+n);
| ^
minimum.cpp:7:26: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cout<<*min_element(x,x+n);
| ^
| yn