Problem | minimum |
---|---|
User | itsjiaqi |
Submission Time | 2025-03-07 08:02:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:5:25: error: use of parameter outside function body before ‘]’ token
5 | int findMin(ll N, ll a[N]) {
| ^
minimum.cpp: In function ‘int findMin(...)’:
minimum.cpp:7:20: error: ‘N’ was not declared in this scope
7 | for(ll i = 0; i < N; i++){
| ^
minimum.cpp:8:6: error: ‘a’ was not declared in this scope
8 | if(a[i] < min) {
| ^