Problem | minimum |
---|---|
User | shaokai348 |
Submission Time | 2025-03-24 10:29:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findmin(int, int*)’:
minimum.cpp:4:2: error: ‘minimum’ was not declared in this scope
4 | minimum = A[0];
| ^~~~~~~
minimum.cpp: In function ‘int main()’:
minimum.cpp:20:19: error: expected primary-expression before ‘]’ token
20 | m = findmin(n, A[]);
| ^
minimum.cpp:21:10: error: ‘minimum’ was not declared in this scope
21 | cout << minimum;
| ^~~~~~~