Problem | minimum |
---|---|
User | blob |
Submission Time | 2023-12-11 08:53:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:3:8: error: storage size of ‘a’ isn’t known
3 | int n, a[];
| ^
minimum.cpp: In function ‘int findMin()’:
minimum.cpp:6:14: error: expected primary-expression before ‘]’ token
6 | ans = min(a[]);
| ^
minimum.cpp: In function ‘int main()’:
minimum.cpp:13:17: error: expected primary-expression before ‘int’
13 | Min = findmin(int n, a[i]);
| ^~~
minimum.cpp:13:9: error: ‘findmin’ was not declared in this scope; did you mean ‘findMin’?
13 | Min = findmin(int n, a[i]);
| ^~~~~~~
| findMin