Problem | minimum |
---|---|
User | itsjiaqi |
Submission Time | 2025-03-07 07:59:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘void findMin(int, int*)’:
minimum.cpp:7:20: error: ‘n’ was not declared in this scope
7 | for(ll i = 0; i < n; i++){
| ^
minimum.cpp:9:14: error: expected ‘;’ before ‘}’ token
9 | min = a[i]
| ^
| ;
10 | }
| ~
minimum.cpp:12:9: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
12 | return min;
| ^~~