Problem | minimum |
---|---|
User | Water |
Submission Time | 2023-06-26 16:19:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:2: error: expected ‘,’ or ‘;’ before ‘for’
5 | for (int i=1;i<N;i++) {
| ^~~
minimum.cpp:5:15: error: ‘i’ was not declared in this scope
5 | for (int i=1;i<N;i++) {
| ^
minimum.cpp: In function ‘int main()’:
minimum.cpp:15:6: error: storage size of ‘b’ isn’t known
15 | int b[];
| ^
minimum.cpp:20:15: error: ‘i’ was not declared in this scope
20 | findMin(a, b[i]);
| ^