Problem | minimum |
---|---|
User | popperoni |
Submission Time | 2023-11-20 23:45:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:5:27: error: use of parameter outside function body before ‘]’ token
5 | int findMin(int a, int b[a]) {
| ^
minimum.cpp: In function ‘int findMin(...)’:
minimum.cpp:6:13: error: ‘b’ was not declared in this scope
6 | int c = b[0];
| ^
minimum.cpp:7:25: error: ‘a’ was not declared in this scope
7 | for (int i = 1; i < a; i++) {
| ^