Problem | minimum |
---|---|
User | blob |
Submission Time | 2023-12-11 08:50:26 |
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:14: error: expected primary-expression before ‘]’ token
5 | ans = min(a[]);
| ^
minimum.cpp: In function ‘int main()’:
minimum.cpp:11:10: error: ‘a’ was not declared in this scope
11 | cin >> a[i]];
| ^
minimum.cpp:12:20: error: expected primary-expression before ‘int’
12 | int Min = findmin(int n, a[i]);
| ^~~
minimum.cpp:12:12: error: ‘findmin’ was not declared in this scope; did you mean ‘findMin’?
12 | int Min = findmin(int n, a[i]);
| ^~~~~~~
| findMin
minimum.cpp:14:9: error: ‘Min’ was not declared in this scope; did you mean ‘sin’?
14 | cout << Min;
| ^~~
| sin